home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Corel Gallery (Macintosh)
/
Corel Gallery - Macintosh Version.bin
/
Corel GALLERY
/
Corel GALLERY.rsrc
/
CODE_1_Main.txt
< prev
next >
Wrap
Text File
|
1994-04-29
|
283KB
|
5,146 lines
# near model CODE resource
# jump table entries: 0-135 (136 of them)
fn00000000:
00000000 4E56 0000 link A6, 0
00000004 48E7 1008 movem.l -[A7], D3,A4
00000008 4EBA 1F16 jsr [PC + 0x1F16 /* 00001F20 */]
0000000C 4EBA 1BEA jsr [PC + 0x1BEA /* 00001BF8 */]
00000010 558F subq.l A7, 2
00000012 486D F864 pea.l [A5 - 0x79C]
00000016 4EAD 4FFA jsr [A5 + 0x4FFA /* export_2555 */]
0000001A 4A1F tst.b [A7]+
0000001C 676C beq +0x6E /* 0000008A */
0000001E 7008 moveq.l D0, 0x08
00000020 3F00 move.w -[A7], D0
00000022 4EBA 1CCC jsr [PC + 0x1CCC /* 00001CF0 */]
00000026 4EAD 136A jsr [A5 + 0x136A /* export_617 */]
0000002A 4EAD 1372 jsr [A5 + 0x1372 /* export_618 */]
0000002E A9CC syscall TEInit
00000030 4EAD 1352 jsr [A5 + 0x1352 /* export_614 */]
00000034 4EAD 1362 jsr [A5 + 0x1362 /* export_616 */]
00000038 4EAD 12F2 jsr [A5 + 0x12F2 /* export_602 */]
0000003C 4EAD 12D2 jsr [A5 + 0x12D2 /* export_598 */]
00000040 7000 moveq.l D0, 0x00
00000042 2840 movea.l A4, D0
00000044 7601 moveq.l D3, 0x01
00000046 220C move.l D1, A4
00000048 661A bne +0x1C /* 00000064 */
0000004A 2F03 move.l -[A7], D3
0000004C 4878 0098 push.l 0x98
00000050 486D 3DF2 pea.l [A5 + 0x3DF2 /* export_1978 */]
00000054 4EBA 1ED2 jsr [PC + 0x1ED2 /* 00001F28 */]
00000058 508F addq.l A7, 8
0000005A 261F move.l D3, [A7]+
0000005C 2840 movea.l A4, D0
0000005E 200C move.l D0, A4
00000060 6602 bne +0x4 /* 00000064 */
00000062 7600 moveq.l D3, 0x00
label00000064:
00000064 4A03 tst.b D3
00000066 670C beq +0xE /* 00000074 */
00000068 2F0C move.l -[A7], A4
0000006A 4EAD 1B3A jsr [A5 + 0x1B3A /* export_867 */]
0000006E 2840 movea.l A4, D0
00000070 584F addq.w A7, 4
00000072 6002 bra +0x4 /* 00000076 */
label00000074:
00000074 7000 moveq.l D0, 0x00
label00000076:
00000076 2B4C EA60 move.l [A5 - 0x15A0], A4
0000007A 2F0C move.l -[A7], A4
0000007C 4EAD 12E2 jsr [A5 + 0x12E2 /* export_600 */]
00000080 2F2D EA60 move.l -[A7], [A5 - 0x15A0]
00000084 4EAD 3462 jsr [A5 + 0x3462 /* export_1672 */]
00000088 6008 bra +0xA /* 00000092 */
label0000008A:
0000008A 3F3C 0089 move.w -[A7], 0x89
0000008E 4EAD 3712 jsr [A5 + 0x3712 /* export_1758 */]
label00000092:
00000092 4CEE 1008 FFF8 movem.l D3,A4, [A6 - 0x8]
00000098 4E5E unlink A6
0000009A 4E75 rts
export_1:
fn0000009C:
0000009C 4E56 0000 link A6, 0
000000A0 2F0C move.l -[A7], A4
000000A2 286E 0008 movea.l A4, [A6 + 0x8]
000000A6 200C move.l D0, A4
000000A8 6614 bne +0x16 /* 000000BE */
000000AA 7002 moveq.l D0, 0x02
000000AC 2F00 move.l -[A7], D0
000000AE 486D 3DA2 pea.l [A5 + 0x3DA2 /* export_1968 */]
000000B2 4EBA 1E74 jsr [PC + 0x1E74 /* 00001F28 */]
000000B6 2840 movea.l A4, D0
000000B8 200C move.l D0, A4
000000BA 504F addq.w A7, 8
000000BC 670A beq +0xC /* 000000C8 */
label000000BE:
000000BE 2F0C move.l -[A7], A4
000000C0 4EAD 1CE2 jsr [A5 + 0x1CE2 /* export_920 */]
000000C4 2840 movea.l A4, D0
000000C6 584F addq.w A7, 4
label000000C8:
000000C8 200C move.l D0, A4
000000CA 286E FFFC movea.l A4, [A6 - 0x4]
000000CE 4E5E unlink A6
000000D0 4E75 rts
000000D2 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_2: // at 000000D4 (misaligned)
000000D6 0000 2F0C ori.b D0, 0xC
000000DA 286E 0008 movea.l A4, [A6 + 0x8]
000000DE 200C move.l D0, A4
000000E0 6614 bne +0x16 /* 000000F6 */
000000E2 7038 moveq.l D0, 0x38
000000E4 2F00 move.l -[A7], D0
000000E6 486D 3DDA pea.l [A5 + 0x3DDA /* export_1975 */]
000000EA 4EBA 1E3C jsr [PC + 0x1E3C /* 00001F28 */]
000000EE 2840 movea.l A4, D0
000000F0 200C move.l D0, A4
000000F2 504F addq.w A7, 8
000000F4 670A beq +0xC /* 00000100 */
label000000F6:
000000F6 2F0C move.l -[A7], A4
000000F8 4EAD 1B6A jsr [A5 + 0x1B6A /* export_873 */]
000000FC 2840 movea.l A4, D0
000000FE 584F addq.w A7, 4
label00000100:
00000100 200C move.l D0, A4
00000102 286E FFFC movea.l A4, [A6 - 0x4]
00000106 4E5E unlink A6
00000108 4E75 rts
0000010A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000010C-00000112
fn0000010C:
0000010C 4E56 0000 link A6, 0
00000110 2F0C move.l -[A7], A4
// end alternate branch 0000010C-00000112
fn0000010C: // (misaligned)
0000010E 0000 2F0C ori.b D0, 0xC
00000112 286E 0008 movea.l A4, [A6 + 0x8]
00000116 200C move.l D0, A4
00000118 6614 bne +0x16 /* 0000012E */
0000011A 700A moveq.l D0, 0x0A
0000011C 2F00 move.l -[A7], D0
0000011E 486D 3DEA pea.l [A5 + 0x3DEA /* export_1977 */]
00000122 4EBA 1E04 jsr [PC + 0x1E04 /* 00001F28 */]
00000126 2840 movea.l A4, D0
00000128 200C move.l D0, A4
0000012A 504F addq.w A7, 8
0000012C 670A beq +0xC /* 00000138 */
label0000012E:
0000012E 2F0C move.l -[A7], A4
00000130 4EAD 1CE2 jsr [A5 + 0x1CE2 /* export_920 */]
00000134 2840 movea.l A4, D0
00000136 584F addq.w A7, 4
label00000138:
00000138 200C move.l D0, A4
0000013A 286E FFFC movea.l A4, [A6 - 0x4]
0000013E 4E5E unlink A6
00000140 4E75 rts
00000142 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_3: // at 00000144 (misaligned)
00000146 0000 2F0C ori.b D0, 0xC
0000014A 286E 0008 movea.l A4, [A6 + 0x8]
0000014E 200C move.l D0, A4
00000150 6614 bne +0x16 /* 00000166 */
00000152 4878 01CE push.l 0x1CE
00000156 486D 3E6A pea.l [A5 + 0x3E6A /* export_1993 */]
0000015A 4EBA 1DCC jsr [PC + 0x1DCC /* 00001F28 */]
0000015E 2840 movea.l A4, D0
00000160 200C move.l D0, A4
00000162 504F addq.w A7, 8
00000164 670A beq +0xC /* 00000170 */
label00000166:
00000166 2F0C move.l -[A7], A4
00000168 4EAD 4E6A jsr [A5 + 0x4E6A /* export_2505 */]
0000016C 2840 movea.l A4, D0
0000016E 584F addq.w A7, 4
label00000170:
00000170 200C move.l D0, A4
00000172 286E FFFC movea.l A4, [A6 - 0x4]
00000176 4E5E unlink A6
00000178 4E75 rts
0000017A 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_4: // at 0000017C (misaligned)
0000017E 0000 2F0C ori.b D0, 0xC
00000182 286E 0008 movea.l A4, [A6 + 0x8]
00000186 200C move.l D0, A4
00000188 6614 bne +0x16 /* 0000019E */
0000018A 700A moveq.l D0, 0x0A
0000018C 2F00 move.l -[A7], D0
0000018E 486D 3E72 pea.l [A5 + 0x3E72 /* export_1994 */]
00000192 4EBA 1D94 jsr [PC + 0x1D94 /* 00001F28 */]
00000196 2840 movea.l A4, D0
00000198 200C move.l D0, A4
0000019A 504F addq.w A7, 8
0000019C 670A beq +0xC /* 000001A8 */
label0000019E:
0000019E 2F0C move.l -[A7], A4
000001A0 4EBA FF6A jsr [PC - 0x96 /* 0000010C */]
000001A4 2840 movea.l A4, D0
000001A6 584F addq.w A7, 4
label000001A8:
000001A8 200C move.l D0, A4
000001AA 286E FFFC movea.l A4, [A6 - 0x4]
000001AE 4E5E unlink A6
000001B0 4E75 rts
000001B2 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_5: // at 000001B4 (misaligned)
000001B6 FFF8 .invalid <<F/7/7>>
000001B8 48E7 1F08 movem.l -[A7], D3,D4,D5,D6,D7,A4
000001BC 382E 000C move.w D4, [A6 + 0xC]
000001C0 1A2E 000E move.b D5, [A6 + 0xE]
000001C4 286E 0008 movea.l A4, [A6 + 0x8]
000001C8 7000 moveq.l D0, 0x00
000001CA 1005 move.b D0, D5
000001CC 2F00 move.l -[A7], D0
000001CE 2054 movea.l A0, [A4]
000001D0 4868 009A pea.l [A0 + 0x9A]
000001D4 4EAD 31CA jsr [A5 + 0x31CA /* export_1589 */]
000001D8 2040 movea.l A0, D0
000001DA 2C10 move.l D6, [A0]
000001DC 3004 move.w D0, D4
000001DE 0440 0014 subi.w D0, 0x14
000001E2 504F addq.w A7, 8
000001E4 6B3A bmi +0x3C /* 00000220 */
000001E6 0C40 0003 cmpi.w D0, 0x3
000001EA 6E34 bgt +0x36 /* 00000220 */
000001EC D040 add.w D0, D0
000001EE 303B 0006 move.w D0, [PC + D0.w + 0x6]
000001F2 4EFB 0000 jmp [PC + D0.w]
000001F6 000A 000A ori.b A2, 0xA /* '\n' */
000001FA 000E 000E ori.b A6, 0xE
000001FE 2E06 move.l D7, D6
00000200 601E bra +0x20 /* 00000220 */
00000202 7000 moveq.l D0, 0x00
00000204 1005 move.b D0, D5
00000206 2F00 move.l -[A7], D0
00000208 2054 movea.l A0, [A4]
0000020A 4868 0030 pea.l [A0 + 0x30]
0000020E 4EAD 31CA jsr [A5 + 0x31CA /* export_1589 */]
00000212 2040 movea.l A0, D0
00000214 2E10 move.l D7, [A0]
00000216 9E86 sub.l D7, D6
00000218 BC87 cmp.l D6, D7
0000021A 504F addq.w A7, 8
0000021C 6F02 ble +0x4 /* 00000220 */
0000021E 2E06 move.l D7, D6
label00000220:
00000220 0C44 0014 cmpi.w D4, 0x14
00000224 6706 beq +0x8 /* 0000022C */
00000226 0C44 0016 cmpi.w D4, 0x16
0000022A 6606 bne +0x8 /* 00000232 */
label0000022C:
0000022C 2007 move.l D0, D7
0000022E 4480 neg.l D0
00000230 2E00 move.l D7, D0
label00000232:
00000232 7000 moveq.l D0, 0x00
00000234 1005 move.b D0, D5
00000236 2054 movea.l A0, [A4]
00000238 41E8 00A2 lea.l A0, [A0 + 0xA2]
0000023C 4A30 0000 tst.b [A0 + D0.w]
00000240 6744 beq +0x46 /* 00000286 */
00000242 4A86 tst.l D6
00000244 6740 beq +0x42 /* 00000286 */
00000246 7000 moveq.l D0, 0x00
00000248 1005 move.b D0, D5
0000024A 2F00 move.l -[A7], D0
0000024C 2054 movea.l A0, [A4]
0000024E 4868 0038 pea.l [A0 + 0x38]
00000252 4EAD 31CA jsr [A5 + 0x31CA /* export_1589 */]
00000256 2040 movea.l A0, D0
00000258 2007 move.l D0, D7
0000025A D090 add.l D0, [A0]
0000025C 2D40 FFFC move.l [A6 - 0x4], D0
00000260 5DC3 slt D3
00000262 4403 neg.b D3
00000264 6704 beq +0x6 /* 0000026A */
00000266 7000 moveq.l D0, 0x00
00000268 6004 bra +0x6 /* 0000026E */
label0000026A:
0000026A 202E FFFC move.l D0, [A6 - 0x4]
label0000026E:
0000026E 4C46 0801 movem.l D0,A3, D6
00000272 2801 move.l D4, D1
00000274 504F addq.w A7, 8
00000276 670E beq +0x10 /* 00000286 */
00000278 4A87 tst.l D7
0000027A 6F04 ble +0x6 /* 00000280 */
0000027C 9E84 sub.l D7, D4
0000027E 6006 bra +0x8 /* 00000286 */
label00000280:
00000280 2006 move.l D0, D6
00000282 9084 sub.l D0, D4
00000284 DE80 add.l D7, D0
label00000286:
00000286 7000 moveq.l D0, 0x00
00000288 2D40 FFF8 move.l [A6 - 0x8], D0
0000028C 2D40 FFFC move.l [A6 - 0x4], D0
00000290 41EE FFF8 lea.l A0, [A6 - 0x8]
00000294 7000 moveq.l D0, 0x00
00000296 1005 move.b D0, D5
00000298 2F00 move.l -[A7], D0
0000029A 486E FFF8 pea.l [A6 - 0x8]
0000029E 4EAD 31CA jsr [A5 + 0x31CA /* export_1589 */]
000002A2 2040 movea.l A0, D0
000002A4 2087 move.l [A0], D7
000002A6 486E FFF8 pea.l [A6 - 0x8]
000002AA 7001 moveq.l D0, 0x01
000002AC 1F00 move.b -[A7], D0
000002AE 2F0C move.l -[A7], A4
000002B0 4EAD 315A jsr [A5 + 0x315A /* export_1575 */]
000002B4 2D47 0010 move.l [A6 + 0x10], D7
000002B8 504F addq.w A7, 8
000002BA 4CEE 10F8 FFE0 movem.l D3,D4,D5,D6,D7,A4, [A6 - 0x20]
000002C0 4E5E unlink A6
000002C2 4E74 0008 rtd 0x0008
000002C6 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_6: // at 000002C8 (misaligned)
000002CA FEEA 48E7 .extension 0xEEA <<F/2-3/7>> // unimplemented
000002CE 0018 286E ori.b [A0]+, 0x6E /* 'n' */
000002D2 0008 41EE ori.b A0, 0xEE
000002D6 FFAA .invalid <<F/6/7>>
000002D8 41EE FFB0 lea.l A0, [A6 - 0x50]
000002DC 486E FFB8 pea.l [A6 - 0x48]
000002E0 4EAD 377A jsr [A5 + 0x377A /* export_1771 */]
000002E4 2F2E 000C move.l -[A7], [A6 + 0xC]
000002E8 486E FFB0 pea.l [A6 - 0x50]
000002EC 2F0C move.l -[A7], A4
000002EE 4EAD 116A jsr [A5 + 0x116A /* export_553 */]
000002F2 2F2E FFFC move.l -[A7], [A6 - 0x4]
000002F6 486E FFB0 pea.l [A6 - 0x50]
000002FA A8DF syscall RectRgn
000002FC 2054 movea.l A0, [A4]
000002FE 4AA8 0020 tst.l [A0 + 0x20]
00000302 584F addq.w A7, 4
00000304 6700 0090 beq +0x92 /* 00000396 */
00000308 2F28 0020 move.l -[A7], [A0 + 0x20]
0000030C 486E FEF0 pea.l [A6 - 0x110]
00000310 4EAD 204A jsr [A5 + 0x204A /* export_1029 */]
00000314 486E FF52 pea.l [A6 - 0xAE]
00000318 4EAD 377A jsr [A5 + 0x377A /* export_1771 */]
0000031C 41EE FF9A lea.l A0, [A6 - 0x66]
00000320 486E FEF0 pea.l [A6 - 0x110]
00000324 4EAD 2052 jsr [A5 + 0x2052 /* export_1030 */]
00000328 2640 movea.l A3, D0
0000032A 4FEF 0010 lea.l A7, [A7 + 0x10]
0000032E 603C bra +0x3E /* 0000036C */
label00000330:
00000330 486E FF9A pea.l [A6 - 0x66]
00000334 2F0B move.l -[A7], A3
00000336 4EAD 105A jsr [A5 + 0x105A /* export_519 */]
0000033A 486E FF9A pea.l [A6 - 0x66]
0000033E 486E FFB0 pea.l [A6 - 0x50]
00000342 2F0B move.l -[A7], A3
00000344 4EAD 116A jsr [A5 + 0x116A /* export_553 */]
00000348 2F2E FF96 move.l -[A7], [A6 - 0x6A]
0000034C 486E FFB0 pea.l [A6 - 0x50]
00000350 A8DF syscall RectRgn
00000352 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000356 2F2E FF96 move.l -[A7], [A6 - 0x6A]
0000035A 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000035E A8E6 syscall DiffRgn
00000360 486E FEF0 pea.l [A6 - 0x110]
00000364 4EAD 205A jsr [A5 + 0x205A /* export_1031 */]
00000368 2640 movea.l A3, D0
0000036A 584F addq.w A7, 4
label0000036C:
0000036C 486E FEF0 pea.l [A6 - 0x110]
00000370 4EAD 2032 jsr [A5 + 0x2032 /* export_1026 */]
00000374 4A00 tst.b D0
00000376 584F addq.w A7, 4
00000378 66B6 bne -0x48 /* 00000330 */
0000037A 7002 moveq.l D0, 0x02
0000037C 2F00 move.l -[A7], D0
0000037E 486E FF52 pea.l [A6 - 0xAE]
00000382 4EAD 3782 jsr [A5 + 0x3782 /* export_1772 */]
00000386 7002 moveq.l D0, 0x02
00000388 2F00 move.l -[A7], D0
0000038A 486E FEF0 pea.l [A6 - 0x110]
0000038E 4EAD 201A jsr [A5 + 0x201A /* export_1023 */]
00000392 4FEF 0010 lea.l A7, [A7 + 0x10]
label00000396:
00000396 486E FF62 pea.l [A6 - 0x9E]
0000039A 4EAD 377A jsr [A5 + 0x377A /* export_1771 */]
0000039E 2F2E FFA6 move.l -[A7], [A6 - 0x5A]
000003A2 A87A syscall GetClip
000003A4 2F2E FFFC move.l -[A7], [A6 - 0x4]
000003A8 A879 syscall SetClip
000003AA 486E FFAA pea.l [A6 - 0x56]
000003AE 4EAD 3862 jsr [A5 + 0x3862 /* export_1800 */]
000003B2 3D7C BBBB FEEA move.w [A6 - 0x116], 0xBBBB
000003B8 3D7C BBBB FEEC move.w [A6 - 0x114], 0xBBBB
000003BE 3D7C BBBB FEEE move.w [A6 - 0x112], 0xBBBB
000003C4 41EE FEEA lea.l A0, [A6 - 0x116]
000003C8 486E FEEA pea.l [A6 - 0x116]
000003CC 4EAD 38DA jsr [A5 + 0x38DA /* export_1815 */]
000003D0 2F2E 000C move.l -[A7], [A6 + 0xC]
000003D4 486E FFB0 pea.l [A6 - 0x50]
000003D8 2F0C move.l -[A7], A4
000003DA 4EAD 116A jsr [A5 + 0x116A /* export_553 */]
000003DE 486E FFB0 pea.l [A6 - 0x50]
000003E2 A8A2 syscall PaintRect
000003E4 486E FFAA pea.l [A6 - 0x56]
000003E8 4EAD 38DA jsr [A5 + 0x38DA /* export_1815 */]
000003EC 2F2E FFA6 move.l -[A7], [A6 - 0x5A]
000003F0 A879 syscall SetClip
000003F2 7002 moveq.l D0, 0x02
000003F4 2F00 move.l -[A7], D0
000003F6 486E FF62 pea.l [A6 - 0x9E]
000003FA 4EAD 3782 jsr [A5 + 0x3782 /* export_1772 */]
000003FE 7002 moveq.l D0, 0x02
00000400 2F00 move.l -[A7], D0
00000402 486E FFB8 pea.l [A6 - 0x48]
00000406 4EAD 3782 jsr [A5 + 0x3782 /* export_1772 */]
0000040A 4FEF 0014 lea.l A7, [A7 + 0x14]
0000040E 4CEE 1800 FEE2 movem.l A3,A4, [A6 - 0x11E]
00000414 4E5E unlink A6
00000416 4E74 0008 rtd 0x0008
0000041A 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_7: // at 0000041C (misaligned)
0000041E 0000 48E7 ori.b D0, 0xE7
00000422 0028 286E 0008 ori.b [A0 + 0x8], 0x6E /* 'n' */
00000428 2F0C move.l -[A7], A4
0000042A 4EAD 246A jsr [A5 + 0x246A /* export_1161 */]
0000042E 2054 movea.l A0, [A4]
00000430 7000 moveq.l D0, 0x00
00000432 2140 0082 move.l [A0 + 0x82], D0
00000436 2054 movea.l A0, [A4]
00000438 43FA 0032 lea.l A1, [PC + 0x32 /* 0000046C, value 0x0, cstring "" */]
0000043C 45E8 0086 lea.l A2, [A0 + 0x86]
00000440 24D9 move.l [A2]+, [A1]+
00000442 24D9 move.l [A2]+, [A1]+
00000444 34D9 move.w [A2]+, [A1]+
00000446 2054 movea.l A0, [A4]
00000448 4268 0090 clr.w [A0 + 0x90]
0000044C 2054 movea.l A0, [A4]
0000044E 4268 0092 clr.w [A0 + 0x92]
00000452 2054 movea.l A0, [A4]
00000454 721E moveq.l D1, 0x1E
00000456 2141 0098 move.l [A0 + 0x98], D1
0000045A 2054 movea.l A0, [A4]
0000045C 2140 0094 move.l [A0 + 0x94], D0
00000460 4CEE 1400 FFF8 movem.l A2,A4, [A6 - 0x8]
00000466 4E5E unlink A6
00000468 4E74 0004 rtd 0x0004
0000046C 0000 0000 ori.b D0, 0x0
00000470 0000 0000 ori.b D0, 0x0
00000474 0000 0000 ori.b D0, 0x0
export_8:
00000478 4E56 0000 link A6, 0
0000047C 2F0C move.l -[A7], A4
0000047E 286E 0008 movea.l A4, [A6 + 0x8]
00000482 7000 moveq.l D0, 0x00
00000484 2F00 move.l -[A7], D0
00000486 2F0C move.l -[A7], A4
00000488 4EAD 163A jsr [A5 + 0x163A /* export_707 */]
0000048C 598F subq.l A7, 4
0000048E 2F3C 7072 6F67 move.l -[A7], 0x70726F67 /* 'prog' */
00000494 2F0C move.l -[A7], A4
00000496 4EAD 1002 jsr [A5 + 0x1002 /* export_508 */]
0000049A 2054 movea.l A0, [A4]
0000049C 215F 0082 move.l [A0 + 0x82], [A7]+
000004A0 286E FFFC movea.l A4, [A6 - 0x4]
000004A4 4E5E unlink A6
000004A6 4E74 0008 rtd 0x0008
000004AA 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_9: // at 000004AC (misaligned)
000004AE FEF0 48E7 .extension 0xEF0 <<F/2-3/7>> // unimplemented
000004B2 0338 3C2E btst [0x00003C2E], D1
000004B6 0010 3E2E ori.b [A0], 0x2E /* '.' */
000004BA 0012 286E ori.b [A2], 0x6E /* 'n' */
000004BE 0008 41EE ori.b A0, 0xEE
000004C2 FEF0 2054 .extension 0xEF0 <<F/2-3/7>> // unimplemented
000004C6 2D68 001C FFFC move.l [A6 - 0x4], [A0 + 0x1C]
000004CC 598F subq.l A7, 4
000004CE 2F2E FFFC move.l -[A7], [A6 - 0x4]
000004D2 4EAD 16AA jsr [A5 + 0x16AA /* export_721 */]
000004D6 265F movea.l A3, [A7]+
000004D8 2054 movea.l A0, [A4]
000004DA 216E 000C 0098 move.l [A0 + 0x98], [A6 + 0xC]
000004E0 2054 movea.l A0, [A4]
000004E2 3147 0090 move.w [A0 + 0x90], D7
000004E6 2054 movea.l A0, [A4]
000004E8 3146 0092 move.w [A0 + 0x92], D6
000004EC 2054 movea.l A0, [A4]
000004EE 43FA 00D4 lea.l A1, [PC + 0xD4 /* 000005C4, value 0x0, cstring "" */]
000004F2 45E8 0086 lea.l A2, [A0 + 0x86]
000004F6 24D9 move.l [A2]+, [A1]+
000004F8 24D9 move.l [A2]+, [A1]+
000004FA 34D9 move.w [A2]+, [A1]+
000004FC 486E FEF0 pea.l [A6 - 0x110]
00000500 3F06 move.w -[A7], D6
00000502 3F07 move.w -[A7], D7
00000504 4EBA 2806 jsr [PC + 0x2806 /* 00002D0C */]
00000508 2054 movea.l A0, [A4]
0000050A 2D68 001C FFF0 move.l [A6 - 0x10], [A0 + 0x1C]
00000510 486E FEF0 pea.l [A6 - 0x110]
00000514 2F2E FFF0 move.l -[A7], [A6 - 0x10]
00000518 4EAD 2CCA jsr [A5 + 0x2CCA /* export_1429 */]
0000051C 2054 movea.l A0, [A4]
0000051E 2F28 0082 move.l -[A7], [A0 + 0x82]
00000522 4EBA 0324 jsr [PC + 0x324 /* 00000848 */]
00000526 2054 movea.l A0, [A4]
00000528 2D68 001C FFF4 move.l [A6 - 0xC], [A0 + 0x1C]
0000052E 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000532 4EAD 45E2 jsr [A5 + 0x45E2 /* export_2232 */]
00000536 2054 movea.l A0, [A4]
00000538 2D68 001C FFF8 move.l [A6 - 0x8], [A0 + 0x1C]
0000053E 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000542 4EAD 0E7A jsr [A5 + 0xE7A /* export_459 */]
00000546 2053 movea.l A0, [A3]
00000548 4228 002A clr.b [A0 + 0x2A]
0000054C 2053 movea.l A0, [A3]
0000054E 217C 2020 2020 0026 move.l [A0 + 0x26], 0x20202020 /* ' ' */
00000556 2054 movea.l A0, [A4]
00000558 2668 001C movea.l A3, [A0 + 0x1C]
0000055C 7001 moveq.l D0, 0x01
0000055E 1F00 move.b -[A7], D0
00000560 2F0B move.l -[A7], A3
00000562 4EAD 16B2 jsr [A5 + 0x16B2 /* export_722 */]
00000566 7000 moveq.l D0, 0x00
00000568 2F00 move.l -[A7], D0
0000056A 7201 moveq.l D1, 0x01
0000056C 2F01 move.l -[A7], D1
0000056E 7000 moveq.l D0, 0x00
00000570 3F00 move.w -[A7], D0
00000572 2F0C move.l -[A7], A4
00000574 4EBA 00CE jsr [PC + 0xCE /* 00000644 */]
00000578 558F subq.l A7, 2
0000057A 4EAD 356A jsr [A5 + 0x356A /* export_1705 */]
0000057E 1C1F move.b D6, [A7]+
00000580 7000 moveq.l D0, 0x00
00000582 1F00 move.b -[A7], D0
00000584 2F2D F3AC move.l -[A7], [A5 - 0xC54]
00000588 4EAD 344A jsr [A5 + 0x344A /* export_1669 */]
0000058C 7000 moveq.l D0, 0x00
0000058E 1F00 move.b -[A7], D0
00000590 2F2D F3AC move.l -[A7], [A5 - 0xC54]
00000594 4EAD 344A jsr [A5 + 0x344A /* export_1669 */]
00000598 7000 moveq.l D0, 0x00
0000059A 1F00 move.b -[A7], D0
0000059C 2F2D F3AC move.l -[A7], [A5 - 0xC54]
000005A0 4EAD 344A jsr [A5 + 0x344A /* export_1669 */]
000005A4 7000 moveq.l D0, 0x00
000005A6 1F00 move.b -[A7], D0
000005A8 2F2D F3AC move.l -[A7], [A5 - 0xC54]
000005AC 4EAD 344A jsr [A5 + 0x344A /* export_1669 */]
000005B0 4A06 tst.b D6
000005B2 6704 beq +0x6 /* 000005B8 */
000005B4 4EAD 3572 jsr [A5 + 0x3572 /* export_1706 */]
label000005B8:
000005B8 4CEE 1CC0 FEDC movem.l D6,D7,A2,A3,A4, [A6 - 0x124]
000005BE 4E5E unlink A6
000005C0 4E74 000C rtd 0x000C
000005C4 0000 0000 ori.b D0, 0x0
000005C8 0000 0000 ori.b D0, 0x0
000005CC 0000 0000 ori.b D0, 0x0
export_10:
000005D0 4E56 FFFC link A6, -0x0004
000005D4 48E7 0118 movem.l -[A7], D7,A3,A4
000005D8 286E 0008 movea.l A4, [A6 + 0x8]
000005DC 598F subq.l A7, 4
000005DE A975 syscall TickCount
000005E0 2054 movea.l A0, [A4]
000005E2 201F move.l D0, [A7]+
000005E4 90A8 0094 sub.l D0, [A0 + 0x94]
000005E8 2054 movea.l A0, [A4]
000005EA B0A8 0098 cmp.l D0, [A0 + 0x98]
000005EE 6344 bls +0x46 /* 00000634 */
000005F0 2668 001C movea.l A3, [A0 + 0x1C]
000005F4 598F subq.l A7, 4
000005F6 2F0B move.l -[A7], A3
000005F8 4EAD 16AA jsr [A5 + 0x16AA /* export_721 */]
000005FC 2D5F FFFC move.l [A6 - 0x4], [A7]+
00000600 558F subq.l A7, 2
00000602 4EAD 356A jsr [A5 + 0x356A /* export_1705 */]
00000606 1E1F move.b D7, [A7]+
00000608 7000 moveq.l D0, 0x00
0000060A 1F00 move.b -[A7], D0
0000060C 2F2D F3AC move.l -[A7], [A5 - 0xC54]
00000610 4EAD 344A jsr [A5 + 0x344A /* export_1669 */]
00000614 4A07 tst.b D7
00000616 6704 beq +0x6 /* 0000061C */
00000618 4EAD 3572 jsr [A5 + 0x3572 /* export_1706 */]
label0000061C:
0000061C 598F subq.l A7, 4
0000061E A975 syscall TickCount
00000620 2054 movea.l A0, [A4]
00000622 215F 0094 move.l [A0 + 0x94], [A7]+
00000626 206E FFFC movea.l A0, [A6 - 0x4]
0000062A 2050 movea.l A0, [A0]
0000062C 1D68 002A 000C move.b [A6 + 0xC], [A0 + 0x2A]
00000632 6004 bra +0x6 /* 00000638 */
label00000634:
00000634 422E 000C clr.b [A6 + 0xC]
label00000638:
00000638 4CEE 1880 FFF0 movem.l D7,A3,A4, [A6 - 0x10]
0000063E 4E5E unlink A6
00000640 4E74 0004 rtd 0x0004
export_11:
fn00000644:
00000644 4E56 FF00 link A6, -0x0100
00000648 48E7 0118 movem.l -[A7], D7,A3,A4
0000064C 3E2E 000C move.w D7, [A6 + 0xC]
00000650 286E 0008 movea.l A4, [A6 + 0x8]
00000654 41EE FF00 lea.l A0, [A6 - 0x100]
00000658 4A47 tst.w D7
0000065A 6726 beq +0x28 /* 00000682 */
0000065C 2054 movea.l A0, [A4]
0000065E 3147 0090 move.w [A0 + 0x90], D7
00000662 486E FF00 pea.l [A6 - 0x100]
00000666 2054 movea.l A0, [A4]
00000668 3F28 0092 move.w -[A7], [A0 + 0x92]
0000066C 3F07 move.w -[A7], D7
0000066E 4EBA 269C jsr [PC + 0x269C /* 00002D0C */]
00000672 2054 movea.l A0, [A4]
00000674 2668 001C movea.l A3, [A0 + 0x1C]
00000678 486E FF00 pea.l [A6 - 0x100]
0000067C 2F0B move.l -[A7], A3
0000067E 4EAD 2CCA jsr [A5 + 0x2CCA /* export_1429 */]
label00000682:
00000682 2F2E 0012 move.l -[A7], [A6 + 0x12]
00000686 2F2E 000E move.l -[A7], [A6 + 0xE]
0000068A 2054 movea.l A0, [A4]
0000068C 2F28 0082 move.l -[A7], [A0 + 0x82]
00000690 4EBA 01F6 jsr [PC + 0x1F6 /* 00000888 */]
00000694 4CEE 1880 FEF4 movem.l D7,A3,A4, [A6 - 0x10C]
0000069A 4E5E unlink A6
0000069C 4E74 000E rtd 0x000E
export_12:
000006A0 4E56 FFD0 link A6, -0x0030
000006A4 48E7 1118 movem.l -[A7], D3,D7,A3,A4
000006A8 286E 0008 movea.l A4, [A6 + 0x8]
000006AC 41EE FFE2 lea.l A0, [A6 - 0x1E]
000006B0 41EE FFEA lea.l A0, [A6 - 0x16]
000006B4 41EE FFF2 lea.l A0, [A6 - 0xE]
000006B8 41EE FFF8 lea.l A0, [A6 - 0x8]
000006BC 486E FFE2 pea.l [A6 - 0x1E]
000006C0 2F0C move.l -[A7], A4
000006C2 4EAD 104A jsr [A5 + 0x104A /* export_517 */]
000006C6 486E FFE2 pea.l [A6 - 0x1E]
000006CA 7001 moveq.l D0, 0x01
000006CC 3F00 move.w -[A7], D0
000006CE 3F00 move.w -[A7], D0
000006D0 A8A9 syscall InsetRect
000006D2 41EE FFF8 lea.l A0, [A6 - 0x8]
000006D6 43EE FFE2 lea.l A1, [A6 - 0x1E]
000006DA 20D9 move.l [A0]+, [A1]+
000006DC 20D9 move.l [A0]+, [A1]+
000006DE 7000 moveq.l D0, 0x00
000006E0 2F00 move.l -[A7], D0
000006E2 486E FFF8 pea.l [A6 - 0x8]
000006E6 4EBA 0C90 jsr [PC + 0xC90 /* 00001378 */]
000006EA 508F addq.l A7, 8
000006EC 2F00 move.l -[A7], D0
000006EE A870 syscall LocalToGlobal
000006F0 7001 moveq.l D0, 0x01
000006F2 2F00 move.l -[A7], D0
000006F4 486E FFF8 pea.l [A6 - 0x8]
000006F8 4EBA 0C7E jsr [PC + 0xC7E /* 00001378 */]
000006FC 508F addq.l A7, 8
000006FE 2F00 move.l -[A7], D0
00000700 A870 syscall LocalToGlobal
00000702 598F subq.l A7, 4
00000704 AA29 syscall GetDeviceList
00000706 265F movea.l A3, [A7]+
00000708 7E01 moveq.l D7, 0x01
0000070A 606E bra +0x70 /* 0000077A */
label0000070C:
0000070C 558F subq.l A7, 2
0000070E 2F0B move.l -[A7], A3
00000710 700D moveq.l D0, 0x0D
00000712 3F00 move.w -[A7], D0
00000714 AA2C syscall TestDeviceAttribute
00000716 4A1F tst.b [A7]+
00000718 6758 beq +0x5A /* 00000772 */
0000071A 558F subq.l A7, 2
0000071C 2F0B move.l -[A7], A3
0000071E 700F moveq.l D0, 0x0F
00000720 3F00 move.w -[A7], D0
00000722 AA2C syscall TestDeviceAttribute
00000724 4A1F tst.b [A7]+
00000726 674A beq +0x4C /* 00000772 */
00000728 558F subq.l A7, 2
0000072A 486E FFF8 pea.l [A6 - 0x8]
0000072E 2053 movea.l A0, [A3]
00000730 41E8 0022 lea.l A0, [A0 + 0x22]
00000734 2D48 FFDE move.l [A6 - 0x22], A0
00000738 3D50 FFD6 move.w [A6 - 0x2A], [A0]
0000073C 3D68 0002 FFD8 move.w [A6 - 0x28], [A0 + 0x2]
00000742 3D68 0004 FFDA move.w [A6 - 0x26], [A0 + 0x4]
00000748 3D68 0006 FFDC move.w [A6 - 0x24], [A0 + 0x6]
0000074E 41EE FFD6 lea.l A0, [A6 - 0x2A]
00000752 2F08 move.l -[A7], A0
00000754 486E FFEA pea.l [A6 - 0x16]
00000758 A8AA syscall SectRect
0000075A 4A1F tst.b [A7]+
0000075C 6714 beq +0x16 /* 00000772 */
0000075E 2053 movea.l A0, [A3]
00000760 2068 0016 movea.l A0, [A0 + 0x16]
00000764 2050 movea.l A0, [A0]
00000766 7004 moveq.l D0, 0x04
00000768 B068 0020 cmp.w D0, [A0 + 0x20]
0000076C 5FC3 sle D3
0000076E 4403 neg.b D3
00000770 1E03 move.b D7, D3
label00000772:
00000772 598F subq.l A7, 4
00000774 2F0B move.l -[A7], A3
00000776 AA2B syscall GetNextDevice
00000778 265F movea.l A3, [A7]+
label0000077A:
0000077A 200B move.l D0, A3
0000077C 6704 beq +0x6 /* 00000782 */
0000077E 4A07 tst.b D7
00000780 668A bne -0x74 /* 0000070C */
label00000782:
00000782 4A07 tst.b D7
00000784 6700 0082 beq +0x84 /* 00000808 */
00000788 486E FFF2 pea.l [A6 - 0xE]
0000078C 4EAD 3862 jsr [A5 + 0x3862 /* export_1800 */]
00000790 3D7C 4000 FFD8 move.w [A6 - 0x28], 0x4000 /* '@\0' */
00000796 3D7C 4000 FFDA move.w [A6 - 0x26], 0x4000 /* '@\0' */
0000079C 3D7C 4000 FFDC move.w [A6 - 0x24], 0x4000 /* '@\0' */
000007A2 41EE FFD8 lea.l A0, [A6 - 0x28]
000007A6 486E FFD8 pea.l [A6 - 0x28]
000007AA 4EAD 38DA jsr [A5 + 0x38DA /* export_1815 */]
000007AE 41EE FFEA lea.l A0, [A6 - 0x16]
000007B2 43EE FFE2 lea.l A1, [A6 - 0x1E]
000007B6 20D9 move.l [A0]+, [A1]+
000007B8 20D9 move.l [A0]+, [A1]+
000007BA 2054 movea.l A0, [A4]
000007BC 3028 0084 move.w D0, [A0 + 0x84]
000007C0 D06E FFE4 add.w D0, [A6 - 0x1C]
000007C4 3D40 FFF0 move.w [A6 - 0x10], D0
000007C8 486E FFEA pea.l [A6 - 0x16]
000007CC A8A2 syscall PaintRect
000007CE 3D7C CCCC FFD0 move.w [A6 - 0x30], 0xCCCC
000007D4 3D7C CCCC FFD2 move.w [A6 - 0x2E], 0xCCCC
000007DA 3D7C FFFF FFD4 move.w [A6 - 0x2C], 0xFFFF
000007E0 41EE FFD0 lea.l A0, [A6 - 0x30]
000007E4 486E FFD0 pea.l [A6 - 0x30]
000007E8 4EAD 38DA jsr [A5 + 0x38DA /* export_1815 */]
000007EC 3D6E FFF0 FFEC move.w [A6 - 0x14], [A6 - 0x10]
000007F2 3D6E FFE8 FFF0 move.w [A6 - 0x10], [A6 - 0x18]
000007F8 486E FFEA pea.l [A6 - 0x16]
000007FC A8A2 syscall PaintRect
000007FE 486E FFF2 pea.l [A6 - 0xE]
00000802 4EAD 38DA jsr [A5 + 0x38DA /* export_1815 */]
00000806 6032 bra +0x34 /* 0000083A */
label00000808:
00000808 41EE FFEA lea.l A0, [A6 - 0x16]
0000080C 43EE FFE2 lea.l A1, [A6 - 0x1E]
00000810 20D9 move.l [A0]+, [A1]+
00000812 20D9 move.l [A0]+, [A1]+
00000814 2054 movea.l A0, [A4]
00000816 3028 0084 move.w D0, [A0 + 0x84]
0000081A D06E FFE4 add.w D0, [A6 - 0x1C]
0000081E 3D40 FFF0 move.w [A6 - 0x10], D0
00000822 486E FFEA pea.l [A6 - 0x16]
00000826 A8A2 syscall PaintRect
00000828 3D6E FFF0 FFEC move.w [A6 - 0x14], [A6 - 0x10]
0000082E 3D6E FFE8 FFF0 move.w [A6 - 0x10], [A6 - 0x18]
00000834 486E FFEA pea.l [A6 - 0x16]
00000838 A8A3 syscall EraseRect
label0000083A:
0000083A 4CEE 1888 FFC0 movem.l D3,D7,A3,A4, [A6 - 0x40]
00000840 4E5E unlink A6
00000842 4E74 0008 rtd 0x0008
00000846 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000848-00000854
fn00000848:
00000848 4E56 0000 link A6, 0
0000084C 48E7 0028 movem.l -[A7], A2,A4
00000850 286E 0008 movea.l A4, [A6 + 0x8]
// end alternate branch 00000848-00000854
fn00000848: // (misaligned)
0000084A 0000 48E7 ori.b D0, 0xE7
0000084E 0028 286E 0008 ori.b [A0 + 0x8], 0x6E /* 'n' */
00000854 2054 movea.l A0, [A4]
00000856 43FA 0024 lea.l A1, [PC + 0x24 /* 0000087C, value 0x0, cstring "" */]
0000085A 45E8 007A lea.l A2, [A0 + 0x7A]
0000085E 24D9 move.l [A2]+, [A1]+
00000860 24D9 move.l [A2]+, [A1]+
00000862 34D9 move.w [A2]+, [A1]+
00000864 2054 movea.l A0, [A4]
00000866 4268 0084 clr.w [A0 + 0x84]
0000086A 2F0C move.l -[A7], A4
0000086C 4EAD 0FF2 jsr [A5 + 0xFF2 /* export_506 */]
00000870 4CEE 1400 FFF8 movem.l A2,A4, [A6 - 0x8]
00000876 4E5E unlink A6
00000878 4E74 0004 rtd 0x0004
0000087C 0000 0000 ori.b D0, 0x0
00000880 0000 0000 ori.b D0, 0x0
00000884 0000 0000 ori.b D0, 0x0
fn00000888:
00000888 4E56 FFD2 link A6, -0x002E
0000088C 48E7 0128 movem.l -[A7], D7,A2,A4
00000890 286E 0008 movea.l A4, [A6 + 0x8]
00000894 41EE FFF8 lea.l A0, [A6 - 0x8]
00000898 486E 0010 pea.l [A6 + 0x10]
0000089C 486E FFEE pea.l [A6 - 0x12]
000008A0 3F3C 280E move.w -[A7], 0x280E
000008A4 A9EB syscall Pack4/FP68K
000008A6 486E 000C pea.l [A6 + 0xC]
000008AA 486E FFE4 pea.l [A6 - 0x1C]
000008AE 3F3C 280E move.w -[A7], 0x280E
000008B2 A9EB syscall Pack4/FP68K
000008B4 486E FFE4 pea.l [A6 - 0x1C]
000008B8 486E FFEE pea.l [A6 - 0x12]
000008BC 3F3C 0006 move.w -[A7], 0x6
000008C0 A9EB syscall Pack4/FP68K
000008C2 2054 movea.l A0, [A4]
000008C4 43EE FFEE lea.l A1, [A6 - 0x12]
000008C8 45E8 007A lea.l A2, [A0 + 0x7A]
000008CC 24D9 move.l [A2]+, [A1]+
000008CE 24D9 move.l [A2]+, [A1]+
000008D0 34D9 move.w [A2]+, [A1]+
000008D2 486E FFF8 pea.l [A6 - 0x8]
000008D6 2F0C move.l -[A7], A4
000008D8 4EAD 104A jsr [A5 + 0x104A /* export_517 */]
000008DC 486E FFF8 pea.l [A6 - 0x8]
000008E0 7001 moveq.l D0, 0x01
000008E2 3F00 move.w -[A7], D0
000008E4 3F00 move.w -[A7], D0
000008E6 A8A9 syscall InsetRect
000008E8 2054 movea.l A0, [A4]
000008EA 302E FFFE move.w D0, [A6 - 0x2]
000008EE 48C0 ext.l D0
000008F0 322E FFFA move.w D1, [A6 - 0x6]
000008F4 48C1 ext.l D1
000008F6 9081 sub.l D0, D1
000008F8 2D40 FFE0 move.l [A6 - 0x20], D0
000008FC 486E FFE0 pea.l [A6 - 0x20]
00000900 486E FFEE pea.l [A6 - 0x12]
00000904 3F3C 280E move.w -[A7], 0x280E
00000908 2D48 FFDC move.l [A6 - 0x24], A0
0000090C A9EB syscall Pack4/FP68K
0000090E 206E FFDC movea.l A0, [A6 - 0x24]
00000912 486E FFEE pea.l [A6 - 0x12]
00000916 43EE FFE4 lea.l A1, [A6 - 0x1C]
0000091A 41E8 007A lea.l A0, [A0 + 0x7A]
0000091E 22D8 move.l [A1]+, [A0]+
00000920 22D8 move.l [A1]+, [A0]+
00000922 32D8 move.w [A1]+, [A0]+
00000924 486E FFE4 pea.l [A6 - 0x1C]
00000928 3F3C 0004 move.w -[A7], 0x4
0000092C A9EB syscall Pack4/FP68K
0000092E 41EE FFE4 lea.l A0, [A6 - 0x1C]
00000932 43EE FFD2 lea.l A1, [A6 - 0x2E]
00000936 22D8 move.l [A1]+, [A0]+
00000938 22D8 move.l [A1]+, [A0]+
0000093A 32D8 move.w [A1]+, [A0]+
0000093C 486E FFD2 pea.l [A6 - 0x2E]
00000940 3F3C 0016 move.w -[A7], 0x16
00000944 A9EB syscall Pack4/FP68K
00000946 486E FFD2 pea.l [A6 - 0x2E]
0000094A 4EAD 3B9A jsr [A5 + 0x3B9A /* export_1903 */]
0000094E 3E00 move.w D7, D0
00000950 2054 movea.l A0, [A4]
00000952 3147 0084 move.w [A0 + 0x84], D7
00000956 2F0C move.l -[A7], A4
00000958 4EAD 0FF2 jsr [A5 + 0xFF2 /* export_506 */]
0000095C 4CEE 1480 FFC6 movem.l D7,A2,A4, [A6 - 0x3A]
00000962 4E5E unlink A6
00000964 4E74 000C rtd 0x000C
export_13:
00000968 4E56 0000 link A6, 0
0000096C 2F0C move.l -[A7], A4
0000096E 286E 0008 movea.l A4, [A6 + 0x8]
00000972 2054 movea.l A0, [A4]
00000974 4AA8 0170 tst.l [A0 + 0x170]
00000978 670A beq +0xC /* 00000984 */
0000097A 2F28 0170 move.l -[A7], [A0 + 0x170]
0000097E 4EBA 1524 jsr [PC + 0x1524 /* 00001EA4 */]
00000982 584F addq.w A7, 4
label00000984:
00000984 2F0C move.l -[A7], A4
00000986 4EAD 1E02 jsr [A5 + 0x1E02 /* export_956 */]
0000098A 286E FFFC movea.l A4, [A6 - 0x4]
0000098E 4E5E unlink A6
00000990 4E74 0004 rtd 0x0004
export_14:
00000994 4E56 FF46 link A6, -0x00BA
00000998 48E7 1318 movem.l -[A7], D3,D6,D7,A3,A4
0000099C 41EE FFC0 lea.l A0, [A6 - 0x40]
000009A0 4207 clr.b D7
000009A2 7000 moveq.l D0, 0x00
000009A4 2840 movea.l A4, D0
000009A6 7601 moveq.l D3, 0x01
000009A8 220C move.l D1, A4
000009AA 661A bne +0x1C /* 000009C6 */
000009AC 2F03 move.l -[A7], D3
000009AE 4878 0102 push.l 0x102
000009B2 486D 3DBA pea.l [A5 + 0x3DBA /* export_1971 */]
000009B6 4EBA 1570 jsr [PC + 0x1570 /* 00001F28 */]
000009BA 508F addq.l A7, 8
000009BC 261F move.l D3, [A7]+
000009BE 2840 movea.l A4, D0
000009C0 200C move.l D0, A4
000009C2 6602 bne +0x4 /* 000009C6 */
000009C4 7600 moveq.l D3, 0x00
label000009C6:
000009C6 4A03 tst.b D3
000009C8 6712 beq +0x14 /* 000009DC */
000009CA 2F0C move.l -[A7], A4
000009CC 4EBA F6CE jsr [PC - 0x932 /* 0000009C */]
000009D0 2840 movea.l A4, D0
000009D2 2054 movea.l A0, [A4]
000009D4 5488 addq.l A0, 2
000009D6 2008 move.l D0, A0
000009D8 584F addq.w A7, 4
000009DA 6002 bra +0x4 /* 000009DE */
label000009DC:
000009DC 7000 moveq.l D0, 0x00
label000009DE:
000009DE 264C movea.l A3, A4
000009E0 558F subq.l A7, 2
000009E2 2F0B move.l -[A7], A3
000009E4 4EAD 49C2 jsr [A5 + 0x49C2 /* export_2356 */]
000009E8 486E FF46 pea.l [A6 - 0xBA]
000009EC 2F2E 0008 move.l -[A7], [A6 + 0x8]
000009F0 4EAD 4DA2 jsr [A5 + 0x4DA2 /* export_2480 */]
000009F4 3C00 move.w D6, D0
000009F6 4FEF 000A lea.l A7, [A7 + 0xA]
000009FA 6612 bne +0x14 /* 00000A0E */
000009FC 558F subq.l A7, 2
000009FE 486E FF46 pea.l [A6 - 0xBA]
00000A02 70FF moveq.l D0, 0xFFFFFFFF
00000A04 3F00 move.w -[A7], D0
00000A06 2F0B move.l -[A7], A3
00000A08 4EAD 49BA jsr [A5 + 0x49BA /* export_2355 */]
00000A0C 1E1F move.b D7, [A7]+
label00000A0E:
00000A0E 2F0B move.l -[A7], A3
00000A10 4EAD 49CA jsr [A5 + 0x49CA /* export_2357 */]
00000A14 1D47 000C move.b [A6 + 0xC], D7
00000A18 4CEE 18C8 FF32 movem.l D3,D6,D7,A3,A4, [A6 - 0xCE]
00000A1E 4E5E unlink A6
00000A20 4E74 0004 rtd 0x0004
fn00000A24:
00000A24 4E56 FFF0 link A6, -0x0010
00000A28 48E7 1F18 movem.l -[A7], D3,D4,D5,D6,D7,A3,A4
00000A2C 42AE FFF6 clr.l [A6 - 0xA]
00000A30 426E FFF4 clr.w [A6 - 0xC]
00000A34 206D EB44 movea.l A0, [A5 - 0x14BC]
00000A38 4A68 000C tst.w [A0 + 0xC]
00000A3C 6600 0110 bne +0x112 /* 00000B4E */
00000A40 4AA8 002C tst.l [A0 + 0x2C]
00000A44 6700 0108 beq +0x10A /* 00000B4E */
00000A48 2068 002C movea.l A0, [A0 + 0x2C]
00000A4C 2650 movea.l A3, [A0]
00000A4E 302B 0006 move.w D0, [A3 + 0x6]
00000A52 48C0 ext.l D0
00000A54 2C00 move.l D6, D0
00000A56 7601 moveq.l D3, 0x01
00000A58 7001 moveq.l D0, 0x01
00000A5A B086 cmp.l D0, D6
00000A5C 6716 beq +0x18 /* 00000A74 */
00000A5E 7003 moveq.l D0, 0x03
00000A60 B086 cmp.l D0, D6
00000A62 6710 beq +0x12 /* 00000A74 */
00000A64 700F moveq.l D0, 0x0F
00000A66 B086 cmp.l D0, D6
00000A68 670A beq +0xC /* 00000A74 */
00000A6A 0C86 0000 00FF cmpi.l D6, 0xFF
00000A70 6702 beq +0x4 /* 00000A74 */
00000A72 7600 moveq.l D3, 0x00
label00000A74:
00000A74 1A03 move.b D5, D3
00000A76 7E00 moveq.l D7, 0x00
00000A78 6024 bra +0x26 /* 00000A9E */
label00000A7A:
00000A7A 49F3 7E0A lea.l A4, [A3 + D7 * 8 + 0xA]
00000A7E 3014 move.w D0, [A4]
00000A80 B06E FFF4 cmp.w D0, [A6 - 0xC]
00000A84 6614 bne +0x16 /* 00000A9A */
00000A86 302C 0002 move.w D0, [A4 + 0x2]
00000A8A B06E FFF6 cmp.w D0, [A6 - 0xA]
00000A8E 660A bne +0xC /* 00000A9A */
00000A90 302C 0004 move.w D0, [A4 + 0x4]
00000A94 B06E FFF8 cmp.w D0, [A6 - 0x8]
00000A98 6708 beq +0xA /* 00000AA2 */
label00000A9A:
00000A9A 2007 move.l D0, D7
00000A9C 5287 addq.l D7, 1
label00000A9E:
00000A9E BC87 cmp.l D6, D7
00000AA0 6CD8 bge -0x26 /* 00000A7A */
label00000AA2:
00000AA2 BC87 cmp.l D6, D7
00000AA4 6F46 ble +0x48 /* 00000AEC */
00000AA6 2006 move.l D0, D6
00000AA8 E780 asl D0, 3
00000AAA 2D40 FFF0 move.l [A6 - 0x10], D0
00000AAE 49EB 0008 lea.l A4, [A3 + 0x8]
00000AB2 202E FFF0 move.l D0, [A6 - 0x10]
00000AB6 41F4 0802 lea.l A0, [A4 + D0 + 0x2]
00000ABA 43EE FFFA lea.l A1, [A6 - 0x6]
00000ABE 22D8 move.l [A1]+, [A0]+
00000AC0 32D8 move.w [A1]+, [A0]+
00000AC2 2807 move.l D4, D7
00000AC4 E784 asl D4, 3
00000AC6 202E FFF0 move.l D0, [A6 - 0x10]
00000ACA 41F4 4802 lea.l A0, [A4 + D4 + 0x2]
00000ACE 43F4 0802 lea.l A1, [A4 + D0 + 0x2]
00000AD2 22D8 move.l [A1]+, [A0]+
00000AD4 32D8 move.w [A1]+, [A0]+
00000AD6 41F4 4802 lea.l A0, [A4 + D4 + 0x2]
00000ADA 43EE FFFA lea.l A1, [A6 - 0x6]
00000ADE 20D9 move.l [A0]+, [A1]+
00000AE0 30D9 move.w [A0]+, [A1]+
00000AE2 3786 6E08 move.w [A3 + D6 * 8 + 0x8], D6
00000AE6 3787 7E08 move.w [A3 + D7 * 8 + 0x8], D7
00000AEA 6062 bra +0x64 /* 00000B4E */
label00000AEC:
00000AEC BC87 cmp.l D6, D7
00000AEE 675E beq +0x60 /* 00000B4E */
00000AF0 4A05 tst.b D5
00000AF2 665A bne +0x5C /* 00000B4E */
00000AF4 0C86 0000 00FF cmpi.l D6, 0xFF
00000AFA 6C52 bge +0x54 /* 00000B4E */
00000AFC 206D EB44 movea.l A0, [A5 - 0x14BC]
00000B00 2068 002C movea.l A0, [A0 + 0x2C]
00000B04 2050 movea.l A0, [A0]
00000B06 5268 0006 addq.w [A0 + 0x6], 1
00000B0A 3C28 0006 move.w D6, [A0 + 0x6]
00000B0E 206D EB44 movea.l A0, [A5 - 0x14BC]
00000B12 5268 0010 addq.w [A0 + 0x10], 1
00000B16 206D EB44 movea.l A0, [A5 - 0x14BC]
00000B1A 3178 0220 000C move.w [A0 + 0xC], [0x00000220 /* MemErr */]
00000B20 4A78 0220 tst.w [0x00000220 /* MemErr */]
00000B24 6628 bne +0x2A /* 00000B4E */
00000B26 48C6 ext.l D6
00000B28 206D EB44 movea.l A0, [A5 - 0x14BC]
00000B2C 2068 002C movea.l A0, [A0 + 0x2C]
00000B30 2050 movea.l A0, [A0]
00000B32 41F0 6E0A lea.l A0, [A0 + D6 * 8 + 0xA]
00000B36 43EE FFF4 lea.l A1, [A6 - 0xC]
00000B3A 20D9 move.l [A0]+, [A1]+
00000B3C 30D9 move.w [A0]+, [A1]+
00000B3E 48C6 ext.l D6
00000B40 206D EB44 movea.l A0, [A5 - 0x14BC]
00000B44 2068 002C movea.l A0, [A0 + 0x2C]
00000B48 2050 movea.l A0, [A0]
00000B4A 3186 6E08 move.w [A0 + D6 * 8 + 0x8], D6
label00000B4E:
00000B4E 4CEE 18F8 FFD4 movem.l D3,D4,D5,D6,D7,A3,A4, [A6 - 0x2C]
00000B54 4E5E unlink A6
00000B56 4E75 rts
fn00000B58:
00000B58 4E56 FFFA link A6, -0x0006
00000B5C 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00000B60 286E 0008 movea.l A4, [A6 + 0x8]
00000B64 206D EB44 movea.l A0, [A5 - 0x14BC]
00000B68 4A68 000C tst.w [A0 + 0xC]
00000B6C 6600 00D4 bne +0xD6 /* 00000C42 */
00000B70 4AA8 002C tst.l [A0 + 0x2C]
00000B74 6700 00CC beq +0xCE /* 00000C42 */
00000B78 2068 002C movea.l A0, [A0 + 0x2C]
00000B7C 2650 movea.l A3, [A0]
00000B7E 3C2B 0006 move.w D6, [A3 + 0x6]
00000B82 4247 clr.w D7
00000B84 6030 bra +0x32 /* 00000BB6 */
label00000B86:
00000B86 48C7 ext.l D7
00000B88 41EE FFFA lea.l A0, [A6 - 0x6]
00000B8C 43F3 7E0A lea.l A1, [A3 + D7 * 8 + 0xA]
00000B90 20D9 move.l [A0]+, [A1]+
00000B92 30D9 move.w [A0]+, [A1]+
00000B94 302E FFFA move.w D0, [A6 - 0x6]
00000B98 B054 cmp.w D0, [A4]
00000B9A 6616 bne +0x18 /* 00000BB2 */
00000B9C 302E FFFC move.w D0, [A6 - 0x4]
00000BA0 B06C 0002 cmp.w D0, [A4 + 0x2]
00000BA4 660C bne +0xE /* 00000BB2 */
00000BA6 302E FFFE move.w D0, [A6 - 0x2]
00000BAA B06C 0004 cmp.w D0, [A4 + 0x4]
00000BAE 6700 0092 beq +0x94 /* 00000C42 */
label00000BB2:
00000BB2 3007 move.w D0, D7
00000BB4 5247 addq.w D7, 1
label00000BB6:
00000BB6 BC47 cmp.w D6, D7
00000BB8 6CCC bge -0x32 /* 00000B86 */
00000BBA 0C46 00FF cmpi.w D6, 0xFF
00000BBE 6C52 bge +0x54 /* 00000C12 */
00000BC0 206D EB44 movea.l A0, [A5 - 0x14BC]
00000BC4 5268 0010 addq.w [A0 + 0x10], 1
00000BC8 206D EB44 movea.l A0, [A5 - 0x14BC]
00000BCC 2068 002C movea.l A0, [A0 + 0x2C]
00000BD0 2050 movea.l A0, [A0]
00000BD2 5268 0006 addq.w [A0 + 0x6], 1
00000BD6 3C28 0006 move.w D6, [A0 + 0x6]
00000BDA 206D EB44 movea.l A0, [A5 - 0x14BC]
00000BDE 3178 0220 000C move.w [A0 + 0xC], [0x00000220 /* MemErr */]
00000BE4 4A78 0220 tst.w [0x00000220 /* MemErr */]
00000BE8 6658 bne +0x5A /* 00000C42 */
00000BEA 48C6 ext.l D6
00000BEC 206D EB44 movea.l A0, [A5 - 0x14BC]
00000BF0 2068 002C movea.l A0, [A0 + 0x2C]
00000BF4 2050 movea.l A0, [A0]
00000BF6 41F0 6E0A lea.l A0, [A0 + D6 * 8 + 0xA]
00000BFA 224C movea.l A1, A4
00000BFC 20D9 move.l [A0]+, [A1]+
00000BFE 30D9 move.w [A0]+, [A1]+
00000C00 48C6 ext.l D6
00000C02 206D EB44 movea.l A0, [A5 - 0x14BC]
00000C06 2068 002C movea.l A0, [A0 + 0x2C]
00000C0A 2050 movea.l A0, [A0]
00000C0C 3186 6E08 move.w [A0 + D6 * 8 + 0x8], D6
00000C10 6030 bra +0x32 /* 00000C42 */
label00000C12:
00000C12 206D EB44 movea.l A0, [A5 - 0x14BC]
00000C16 2068 002C movea.l A0, [A0 + 0x2C]
00000C1A A023 syscall DisposHandle/DisposeHandle
00000C1C 206D EB44 movea.l A0, [A5 - 0x14BC]
00000C20 3178 0220 000C move.w [A0 + 0xC], [0x00000220 /* MemErr */]
00000C26 206D EB44 movea.l A0, [A5 - 0x14BC]
00000C2A 7000 moveq.l D0, 0x00
00000C2C 2140 002C move.l [A0 + 0x2C], D0
00000C30 206D EB44 movea.l A0, [A5 - 0x14BC]
00000C34 4268 0010 clr.w [A0 + 0x10]
00000C38 206D EB44 movea.l A0, [A5 - 0x14BC]
00000C3C 317C 0020 000E move.w [A0 + 0xE], 0x20 /* ' ' */
label00000C42:
00000C42 4CEE 18C0 FFEA movem.l D6,D7,A3,A4, [A6 - 0x16]
00000C48 4E5E unlink A6
00000C4A 4E75 rts
fn00000C4C:
00000C4C 4E56 FFFA link A6, -0x0006
00000C50 48E7 0308 movem.l -[A7], D6,D7,A4
00000C54 286E 0008 movea.l A4, [A6 + 0x8]
00000C58 2054 movea.l A0, [A4]
00000C5A 3C28 0006 move.w D6, [A0 + 0x6]
00000C5E 4247 clr.w D7
00000C60 601E bra +0x20 /* 00000C80 */
label00000C62:
00000C62 48C7 ext.l D7
00000C64 2054 movea.l A0, [A4]
00000C66 43EE FFFA lea.l A1, [A6 - 0x6]
00000C6A 41F0 7E0A lea.l A0, [A0 + D7 * 8 + 0xA]
00000C6E 22D8 move.l [A1]+, [A0]+
00000C70 32D8 move.w [A1]+, [A0]+
00000C72 486E FFFA pea.l [A6 - 0x6]
00000C76 4EBA FEE0 jsr [PC - 0x120 /* 00000B58 */]
00000C7A 584F addq.w A7, 4
00000C7C 3007 move.w D0, D7
00000C7E 5247 addq.w D7, 1
label00000C80:
00000C80 BC47 cmp.w D6, D7
00000C82 6CDE bge -0x20 /* 00000C62 */
00000C84 4CEE 10C0 FFEE movem.l D6,D7,A4, [A6 - 0x12]
00000C8A 4E5E unlink A6
00000C8C 4E75 rts
00000C8E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000C90-00000C96
fn00000C90:
00000C90 4E56 0000 link A6, 0
00000C94 2F0C move.l -[A7], A4
// end alternate branch 00000C90-00000C96
fn00000C90: // (misaligned)
00000C92 0000 2F0C ori.b D0, 0xC
00000C96 286E 0008 movea.l A4, [A6 + 0x8]
00000C9A 2054 movea.l A0, [A4]
00000C9C 3010 move.w D0, [A0]
00000C9E 6706 beq +0x8 /* 00000CA6 */
00000CA0 5340 subq.w D0, 1
00000CA2 671E beq +0x20 /* 00000CC2 */
00000CA4 602E bra +0x30 /* 00000CD4 */
label00000CA6:
00000CA6 206D FCD6 movea.l A0, [A5 - 0x32A]
00000CAA 4868 0024 pea.l [A0 + 0x24]
00000CAE 4EBA FEA8 jsr [PC - 0x158 /* 00000B58 */]
00000CB2 206D FCD6 movea.l A0, [A5 - 0x32A]
00000CB6 4868 002A pea.l [A0 + 0x2A]
00000CBA 4EBA FE9C jsr [PC - 0x164 /* 00000B58 */]
00000CBE 504F addq.w A7, 8
00000CC0 6012 bra +0x14 /* 00000CD4 */
label00000CC2:
00000CC2 2054 movea.l A0, [A4]
00000CC4 2068 0002 movea.l A0, [A0 + 0x2]
00000CC8 2050 movea.l A0, [A0]
00000CCA 2F28 002A move.l -[A7], [A0 + 0x2A]
00000CCE 4EBA FF7C jsr [PC - 0x84 /* 00000C4C */]
00000CD2 584F addq.w A7, 4
label00000CD4:
00000CD4 286E FFFC movea.l A4, [A6 - 0x4]
00000CD8 4E5E unlink A6
00000CDA 4E75 rts
fn00000CDC:
00000CDC 4E56 0000 link A6, 0
00000CE0 102E 000B move.b D0, [A6 + 0xB]
00000CE4 0C00 0004 cmpi.b D0, 0x4
00000CE8 6246 bhi +0x48 /* 00000D30 */
00000CEA 7200 moveq.l D1, 0x00
00000CEC 1200 move.b D1, D0
00000CEE D241 add.w D1, D1
00000CF0 323B 1006 move.w D1, [PC + D1.w + 0x6]
00000CF4 4EFB 1000 jmp [PC + D1.w]
00000CF8 000C 000C ori.b A4, 0xC
00000CFC 001C 003A ori.b [A4]+, 0x3A /* ':' */
00000D00 002C 206D FCD6 ori.b [A4 - 0x32A], 0x6D /* 'm' */
00000D06 2F28 003A move.l -[A7], [A0 + 0x3A]
00000D0A 4EBA FF84 jsr [PC - 0x7C /* 00000C90 */]
00000D0E 584F addq.w A7, 4
00000D10 601E bra +0x20 /* 00000D30 */
00000D12 206D FCD6 movea.l A0, [A5 - 0x32A]
00000D16 4868 002A pea.l [A0 + 0x2A]
00000D1A 4EBA FE3C jsr [PC - 0x1C4 /* 00000B58 */]
00000D1E 584F addq.w A7, 4
00000D20 600E bra +0x10 /* 00000D30 */
00000D22 206D FCD6 movea.l A0, [A5 - 0x32A]
00000D26 2F28 003E move.l -[A7], [A0 + 0x3E]
00000D2A 4EBA FF64 jsr [PC - 0x9C /* 00000C90 */]
00000D2E 584F addq.w A7, 4
label00000D30:
00000D30 4E5E unlink A6
00000D32 4E75 rts
export_15:
00000D34 4E56 0000 link A6, 0
00000D38 206D FCD6 movea.l A0, [A5 - 0x32A]
00000D3C 4868 0024 pea.l [A0 + 0x24]
00000D40 4EBA FE16 jsr [PC - 0x1EA /* 00000B58 */]
00000D44 206D FCD6 movea.l A0, [A5 - 0x32A]
00000D48 4868 002A pea.l [A0 + 0x2A]
00000D4C 4EBA FE0A jsr [PC - 0x1F6 /* 00000B58 */]
00000D50 4E5E unlink A6
00000D52 4E74 000E rtd 0x000E
00000D56 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_16: // at 00000D58 (misaligned)
00000D5A 0000 206D ori.b D0, 0x6D /* 'm' */
00000D5E FCD6 2F28 .extension 0xCD6 <<F/2-3/6>> // unimplemented
00000D62 003A 4EBA FF2A ori.b [PC - 0xD6 /* 00000C8E, value 0x0, cstring "" */], 0xBA
00000D68 4E5E unlink A6
00000D6A 4E74 0004 rtd 0x0004
00000D6E 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_17: // at 00000D70 (misaligned)
00000D72 0000 7000 ori.b D0, 0x0
00000D76 102E 000C move.b D0, [A6 + 0xC]
00000D7A 2F00 move.l -[A7], D0
00000D7C 4EBA FF5E jsr [PC - 0xA2 /* 00000CDC */]
00000D80 4E5E unlink A6
00000D82 4E74 0006 rtd 0x0006
00000D86 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_18: // at 00000D88 (misaligned)
00000D8A 0000 7000 ori.b D0, 0x0
00000D8E 102E 0010 move.b D0, [A6 + 0x10]
00000D92 2F00 move.l -[A7], D0
00000D94 4EBA FF46 jsr [PC - 0xBA /* 00000CDC */]
00000D98 4E5E unlink A6
00000D9A 4E74 000A rtd 0x000A
00000D9E 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_19: // at 00000DA0 (misaligned)
00000DA2 0000 7000 ori.b D0, 0x0
00000DA6 102E 000C move.b D0, [A6 + 0xC]
00000DAA 2F00 move.l -[A7], D0
00000DAC 4EBA FF2E jsr [PC - 0xD2 /* 00000CDC */]
00000DB0 4E5E unlink A6
00000DB2 4E74 0006 rtd 0x0006
00000DB6 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_20: // at 00000DB8 (misaligned)
00000DBA 0000 7000 ori.b D0, 0x0
00000DBE 102E 0010 move.b D0, [A6 + 0x10]
00000DC2 2F00 move.l -[A7], D0
00000DC4 4EBA FF16 jsr [PC - 0xEA /* 00000CDC */]
00000DC8 4E5E unlink A6
00000DCA 4E74 000A rtd 0x000A
00000DCE 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_21: // at 00000DD0 (misaligned)
00000DD2 0000 7000 ori.b D0, 0x0
00000DD6 102E 000C move.b D0, [A6 + 0xC]
00000DDA 2F00 move.l -[A7], D0
00000DDC 4EBA FEFE jsr [PC - 0x102 /* 00000CDC */]
00000DE0 4E5E unlink A6
00000DE2 4E74 0006 rtd 0x0006
00000DE6 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_22: // at 00000DE8 (misaligned)
00000DEA 0000 7000 ori.b D0, 0x0
00000DEE 102E 000C move.b D0, [A6 + 0xC]
00000DF2 2F00 move.l -[A7], D0
00000DF4 4EBA FEE6 jsr [PC - 0x11A /* 00000CDC */]
00000DF8 4E5E unlink A6
00000DFA 4E74 0006 rtd 0x0006
00000DFE 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_23: // at 00000E00 (misaligned)
00000E02 0000 48E7 ori.b D0, 0xE7
00000E06 0118 btst [A0]+, D0
00000E08 266E 0016 movea.l A3, [A6 + 0x16]
00000E0C 4207 clr.b D7
00000E0E 3E2B 0004 move.w D7, [A3 + 0x4]
00000E12 6C60 bge +0x62 /* 00000E74 */
00000E14 303C 4000 move.w D0, 0x4000 /* '@\0' */
00000E18 C047 and.w D0, D7
00000E1A 6706 beq +0x8 /* 00000E22 */
00000E1C 2053 movea.l A0, [A3]
00000E1E 2850 movea.l A4, [A0]
00000E20 6002 bra +0x4 /* 00000E24 */
label00000E22:
00000E22 284B movea.l A4, A3
label00000E24:
00000E24 206D EB44 movea.l A0, [A5 - 0x14BC]
00000E28 302C 0020 move.w D0, [A4 + 0x20]
00000E2C B068 000E cmp.w D0, [A0 + 0xE]
00000E30 6F06 ble +0x8 /* 00000E38 */
00000E32 316C 0020 000E move.w [A0 + 0xE], [A4 + 0x20]
label00000E38:
00000E38 7010 moveq.l D0, 0x10
00000E3A B06C 001E cmp.w D0, [A4 + 0x1E]
00000E3E 670A beq +0xC /* 00000E4A */
00000E40 2F2C 002A move.l -[A7], [A4 + 0x2A]
00000E44 4EBA FE06 jsr [PC - 0x1FA /* 00000C4C */]
00000E48 584F addq.w A7, 4
label00000E4A:
00000E4A 206D EB44 movea.l A0, [A5 - 0x14BC]
00000E4E 70FF moveq.l D0, 0xFFFFFFFF
00000E50 B068 0012 cmp.w D0, [A0 + 0x12]
00000E54 6638 bne +0x3A /* 00000E8E */
00000E56 4AA8 0024 tst.l [A0 + 0x24]
00000E5A 6632 bne +0x34 /* 00000E8E */
00000E5C 4AA8 0028 tst.l [A0 + 0x28]
00000E60 672C beq +0x2E /* 00000E8E */
00000E62 216C 0016 0024 move.l [A0 + 0x24], [A4 + 0x16]
00000E68 206D EB44 movea.l A0, [A5 - 0x14BC]
00000E6C 216C 001A 0024 move.l [A0 + 0x24], [A4 + 0x1A]
00000E72 601A bra +0x1C /* 00000E8E */
label00000E74:
00000E74 206D FCD6 movea.l A0, [A5 - 0x32A]
00000E78 4868 002A pea.l [A0 + 0x2A]
00000E7C 4EBA FCDA jsr [PC - 0x326 /* 00000B58 */]
00000E80 206D FCD6 movea.l A0, [A5 - 0x32A]
00000E84 4868 0024 pea.l [A0 + 0x24]
00000E88 4EBA FCCE jsr [PC - 0x332 /* 00000B58 */]
00000E8C 504F addq.w A7, 8
label00000E8E:
00000E8E 4CEE 1880 FFF4 movem.l D7,A3,A4, [A6 - 0xC]
00000E94 4E5E unlink A6
00000E96 4E74 0012 rtd 0x0012
00000E9A 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_24: // at 00000E9C (misaligned)
00000E9E FF8A .invalid <<F/6/7>>
00000EA0 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00000EA4 286E 0008 movea.l A4, [A6 + 0x8]
00000EA8 3D7C FFFF FFDE move.w [A6 - 0x22], 0xFFFF
00000EAE 3D7C FFFF FFDC move.w [A6 - 0x24], 0xFFFF
00000EB4 3D7C FFFF FFDA move.w [A6 - 0x26], 0xFFFF
00000EBA 4A94 tst.l [A4]
00000EBC 660C bne +0xE /* 00000ECA */
00000EBE 397C FFFF 000C move.w [A4 + 0xC], 0xFFFF
00000EC4 70FF moveq.l D0, 0xFFFFFFFF
00000EC6 6000 0364 bra +0x366 /* 0000122C */
label00000ECA:
00000ECA 486E FFE0 pea.l [A6 - 0x20]
00000ECE A874 syscall GetPort
00000ED0 706C moveq.l D0, 0x6C
00000ED2 A11E syscall NewPtr, flags=1
00000ED4 2648 movea.l A3, A0
00000ED6 200B move.l D0, A3
00000ED8 6608 bne +0xA /* 00000EE2 */
00000EDA 3038 0220 move.w D0, [0x00000220 /* MemErr */]
00000EDE 6000 034C bra +0x34E /* 0000122C */
label00000EE2:
00000EE2 2F0B move.l -[A7], A3
00000EE4 AA00 syscall OpenCPort
00000EE6 486E FF8A pea.l [A6 - 0x76]
00000EEA AA4E syscall SetStdCProcs
00000EEC 4AAC 0004 tst.l [A4 + 0x4]
00000EF0 6706 beq +0x8 /* 00000EF8 */
00000EF2 2D6C 0004 FFB6 move.l [A6 - 0x4A], [A4 + 0x4]
label00000EF8:
00000EF8 41ED 009A lea.l A0, [A5 + 0x9A /* export_15 */]
00000EFC 2D48 FF8A move.l [A6 - 0x76], A0
00000F00 41ED 00A2 lea.l A0, [A5 + 0xA2 /* export_16 */]
00000F04 2D48 FF8E move.l [A6 - 0x72], A0
00000F08 41ED 00AA lea.l A0, [A5 + 0xAA /* export_17 */]
00000F0C 2D48 FF92 move.l [A6 - 0x6E], A0
00000F10 41ED 00B2 lea.l A0, [A5 + 0xB2 /* export_18 */]
00000F14 2D48 FF96 move.l [A6 - 0x6A], A0
00000F18 41ED 00BA lea.l A0, [A5 + 0xBA /* export_19 */]
00000F1C 2D48 FF9A move.l [A6 - 0x66], A0
00000F20 41ED 00C2 lea.l A0, [A5 + 0xC2 /* export_20 */]
00000F24 2D48 FF9E move.l [A6 - 0x62], A0
00000F28 41ED 00CA lea.l A0, [A5 + 0xCA /* export_21 */]
00000F2C 2D48 FFA2 move.l [A6 - 0x5E], A0
00000F30 41ED 00D2 lea.l A0, [A5 + 0xD2 /* export_22 */]
00000F34 2D48 FFA6 move.l [A6 - 0x5A], A0
00000F38 41ED 00DA lea.l A0, [A5 + 0xDA /* export_23 */]
00000F3C 2D48 FFAA move.l [A6 - 0x56], A0
00000F40 41EE FF8A lea.l A0, [A6 - 0x76]
00000F44 2748 0068 move.l [A3 + 0x68], A0
00000F48 397C 0001 000E move.w [A4 + 0xE], 0x1
00000F4E 426C 000C clr.w [A4 + 0xC]
00000F52 397C 0001 0010 move.w [A4 + 0x10], 0x1
00000F58 7000 moveq.l D0, 0x00
00000F5A 2940 0028 move.l [A4 + 0x28], D0
00000F5E 2940 0024 move.l [A4 + 0x24], D0
00000F62 486C 001C pea.l [A4 + 0x1C]
00000F66 7000 moveq.l D0, 0x00
00000F68 3F00 move.w -[A7], D0
00000F6A 3F00 move.w -[A7], D0
00000F6C 3F00 move.w -[A7], D0
00000F6E 3F00 move.w -[A7], D0
00000F70 A8A7 syscall SetRect
00000F72 2054 movea.l A0, [A4]
00000F74 2050 movea.l A0, [A0]
00000F76 43EC 0014 lea.l A1, [A4 + 0x14]
00000F7A 5488 addq.l A0, 2
00000F7C 22D8 move.l [A1]+, [A0]+
00000F7E 22D8 move.l [A1]+, [A0]+
00000F80 2A3C 0000 0808 move.l D5, 0x808
00000F86 2005 move.l D0, D5
00000F88 A122 syscall NewHandle, flags=1
00000F8A 2948 002C move.l [A4 + 0x2C], A0
00000F8E 661C bne +0x1E /* 00000FAC */
00000F90 3978 0220 000C move.w [A4 + 0xC], [0x00000220 /* MemErr */]
00000F96 2F2E FFE0 move.l -[A7], [A6 - 0x20]
00000F9A A873 syscall SetPort
00000F9C 2F0B move.l -[A7], A3
00000F9E A87D syscall ClosePort
00000FA0 204B movea.l A0, A3
00000FA2 A01F syscall DisposPtr/DisposePtr
00000FA4 302C 000C move.w D0, [A4 + 0xC]
00000FA8 6000 0282 bra +0x284 /* 0000122C */
label00000FAC:
00000FAC 2B4C EB44 move.l [A5 - 0x14BC], A4
00000FB0 4AAC 002C tst.l [A4 + 0x2C]
00000FB4 6700 0264 beq +0x266 /* 0000121A */
00000FB8 206C 002C movea.l A0, [A4 + 0x2C]
00000FBC 2050 movea.l A0, [A0]
00000FBE 4268 0006 clr.w [A0 + 0x6]
00000FC2 206C 002C movea.l A0, [A4 + 0x2C]
00000FC6 2050 movea.l A0, [A0]
00000FC8 317C 8000 0004 move.w [A0 + 0x4], 0x8000
00000FCE 598F subq.l A7, 4
00000FD0 AA28 syscall GetCTSeed
00000FD2 206C 002C movea.l A0, [A4 + 0x2C]
00000FD6 2050 movea.l A0, [A0]
00000FD8 209F move.l [A0], [A7]+
00000FDA 206C 002C movea.l A0, [A4 + 0x2C]
00000FDE 2050 movea.l A0, [A0]
00000FE0 41E8 000A lea.l A0, [A0 + 0xA]
00000FE4 43EE FFDA lea.l A1, [A6 - 0x26]
00000FE8 20D9 move.l [A0]+, [A1]+
00000FEA 30D9 move.w [A0]+, [A1]+
00000FEC 206C 002C movea.l A0, [A4 + 0x2C]
00000FF0 2050 movea.l A0, [A0]
00000FF2 4268 0008 clr.w [A0 + 0x8]
00000FF6 4AAC 0004 tst.l [A4 + 0x4]
00000FFA 6750 beq +0x52 /* 0000104C */
00000FFC 4AAC 0008 tst.l [A4 + 0x8]
00001000 674A beq +0x4C /* 0000104C */
00001002 7006 moveq.l D0, 0x06
00001004 3F00 move.w -[A7], D0
00001006 206C 0008 movea.l A0, [A4 + 0x8]
0000100A 4E90 jsr [A0]
0000100C 486E FFE4 pea.l [A6 - 0x1C]
00001010 7018 moveq.l D0, 0x18
00001012 3F00 move.w -[A7], D0
00001014 206C 0004 movea.l A0, [A4 + 0x4]
00001018 4E90 jsr [A0]
0000101A 396E FFE4 0012 move.w [A4 + 0x12], [A6 - 0x1C]
00001020 70FE moveq.l D0, 0xFFFFFFFE
00001022 B06E FFE4 cmp.w D0, [A6 - 0x1C]
00001026 6618 bne +0x1A /* 00001040 */
00001028 296E FFE8 0024 move.l [A4 + 0x24], [A6 - 0x18]
0000102E 296E FFEC 0028 move.l [A4 + 0x28], [A6 - 0x14]
00001034 41EC 001C lea.l A0, [A4 + 0x1C]
00001038 43EE FFF0 lea.l A1, [A6 - 0x10]
0000103C 20D9 move.l [A0]+, [A1]+
0000103E 20D9 move.l [A0]+, [A1]+
label00001040:
00001040 70E2 moveq.l D0, 0xFFFFFFE2
00001042 3F00 move.w -[A7], D0
00001044 206C 0008 movea.l A0, [A4 + 0x8]
00001048 4E90 jsr [A0]
0000104A 6040 bra +0x42 /* 0000108C */
label0000104C:
0000104C 2054 movea.l A0, [A4]
0000104E 2010 move.l D0, [A0]
00001050 7210 moveq.l D1, 0x10
00001052 D081 add.l D0, D1
00001054 2D40 FFFC move.l [A6 - 0x4], D0
00001058 2040 movea.l A0, D0
0000105A 43EE FFE4 lea.l A1, [A6 - 0x1C]
0000105E 7005 moveq.l D0, 0x05
label00001060:
00001060 22D8 move.l [A1]+, [A0]+
00001062 51C8 FFFC dbf D0, -0x6 /* 00001060 */
00001066 396E FFE4 0012 move.w [A4 + 0x12], [A6 - 0x1C]
0000106C 70FE moveq.l D0, 0xFFFFFFFE
0000106E B06E FFE4 cmp.w D0, [A6 - 0x1C]
00001072 6618 bne +0x1A /* 0000108C */
00001074 296E FFE8 0024 move.l [A4 + 0x24], [A6 - 0x18]
0000107A 296E FFEC 0028 move.l [A4 + 0x28], [A6 - 0x14]
00001080 41EC 001C lea.l A0, [A4 + 0x1C]
00001084 43EE FFF0 lea.l A1, [A6 - 0x10]
00001088 20D9 move.l [A0]+, [A1]+
0000108A 20D9 move.l [A0]+, [A1]+
label0000108C:
0000108C 2054 movea.l A0, [A4]
0000108E 2F08 move.l -[A7], A0
00001090 2050 movea.l A0, [A0]
00001092 4868 0002 pea.l [A0 + 0x2]
00001096 A8F6 syscall DrawPicture
00001098 4A6C 000C tst.w [A4 + 0xC]
0000109C 671A beq +0x1C /* 000010B8 */
0000109E 4AAC 002C tst.l [A4 + 0x2C]
000010A2 6706 beq +0x8 /* 000010AA */
000010A4 206C 002C movea.l A0, [A4 + 0x2C]
000010A8 A023 syscall DisposHandle/DisposeHandle
label000010AA:
000010AA 7000 moveq.l D0, 0x00
000010AC 2940 002C move.l [A4 + 0x2C], D0
000010B0 426C 0010 clr.w [A4 + 0x10]
000010B4 6000 0164 bra +0x166 /* 0000121A */
label000010B8:
000010B8 4EBA F96A jsr [PC - 0x696 /* 00000A24 */]
000010BC 4A6C 000C tst.w [A4 + 0xC]
000010C0 6600 00CA bne +0xCC /* 0000118C */
000010C4 4AAC 002C tst.l [A4 + 0x2C]
000010C8 6700 00C2 beq +0xC4 /* 0000118C */
000010CC 206C 002C movea.l A0, [A4 + 0x2C]
000010D0 2050 movea.l A0, [A0]
000010D2 7001 moveq.l D0, 0x01
000010D4 B068 0006 cmp.w D0, [A0 + 0x6]
000010D8 6700 00B2 beq +0xB4 /* 0000118C */
000010DC 206C 002C movea.l A0, [A4 + 0x2C]
000010E0 2050 movea.l A0, [A0]
000010E2 7003 moveq.l D0, 0x03
000010E4 B068 0006 cmp.w D0, [A0 + 0x6]
000010E8 6700 00A2 beq +0xA4 /* 0000118C */
000010EC 206C 002C movea.l A0, [A4 + 0x2C]
000010F0 2050 movea.l A0, [A0]
000010F2 700F moveq.l D0, 0x0F
000010F4 B068 0006 cmp.w D0, [A0 + 0x6]
000010F8 6700 0092 beq +0x94 /* 0000118C */
000010FC 206C 002C movea.l A0, [A4 + 0x2C]
00001100 2050 movea.l A0, [A0]
00001102 0C68 00FF 0006 cmpi.w [A0 + 0x6], 0xFF
00001108 6700 0082 beq +0x84 /* 0000118C */
0000110C 3C3C 00FF move.w D6, 0xFF
00001110 206C 002C movea.l A0, [A4 + 0x2C]
00001114 2050 movea.l A0, [A0]
00001116 700F moveq.l D0, 0x0F
00001118 B068 0006 cmp.w D0, [A0 + 0x6]
0000111C 6D02 blt +0x4 /* 00001120 */
0000111E 7C0F moveq.l D6, 0x0F
label00001120:
00001120 206C 002C movea.l A0, [A4 + 0x2C]
00001124 2050 movea.l A0, [A0]
00001126 7003 moveq.l D0, 0x03
00001128 B068 0006 cmp.w D0, [A0 + 0x6]
0000112C 6D02 blt +0x4 /* 00001130 */
0000112E 7C03 moveq.l D6, 0x03
label00001130:
00001130 206C 002C movea.l A0, [A4 + 0x2C]
00001134 2050 movea.l A0, [A0]
00001136 7001 moveq.l D0, 0x01
00001138 B068 0006 cmp.w D0, [A0 + 0x6]
0000113C 6D02 blt +0x4 /* 00001140 */
0000113E 7C01 moveq.l D6, 0x01
label00001140:
00001140 3E06 move.w D7, D6
00001142 6032 bra +0x34 /* 00001176 */
label00001144:
00001144 48C7 ext.l D7
00001146 206C 002C movea.l A0, [A4 + 0x2C]
0000114A 2050 movea.l A0, [A0]
0000114C 4270 7E0A clr.w [A0 + D7 * 8 + 0xA]
00001150 48C7 ext.l D7
00001152 206C 002C movea.l A0, [A4 + 0x2C]
00001156 2050 movea.l A0, [A0]
00001158 4270 7E0C clr.w [A0 + D7 * 8 + 0xC]
0000115C 48C7 ext.l D7
0000115E 206C 002C movea.l A0, [A4 + 0x2C]
00001162 2050 movea.l A0, [A0]
00001164 4270 7E0E clr.w [A0 + D7 * 8 + 0xE]
00001168 48C7 ext.l D7
0000116A 206C 002C movea.l A0, [A4 + 0x2C]
0000116E 2050 movea.l A0, [A0]
00001170 3187 7E08 move.w [A0 + D7 * 8 + 0x8], D7
00001174 5347 subq.w D7, 1
label00001176:
00001176 206C 002C movea.l A0, [A4 + 0x2C]
0000117A 2050 movea.l A0, [A0]
0000117C BE68 0006 cmp.w D7, [A0 + 0x6]
00001180 6EC2 bgt -0x3C /* 00001144 */
00001182 206C 002C movea.l A0, [A4 + 0x2C]
00001186 2050 movea.l A0, [A0]
00001188 3146 0006 move.w [A0 + 0x6], D6
label0000118C:
0000118C 4A6C 000C tst.w [A4 + 0xC]
00001190 6636 bne +0x38 /* 000011C8 */
00001192 4AAC 002C tst.l [A4 + 0x2C]
00001196 6730 beq +0x32 /* 000011C8 */
00001198 206C 002C movea.l A0, [A4 + 0x2C]
0000119C 2050 movea.l A0, [A0]
0000119E 0C68 00FF 0006 cmpi.w [A0 + 0x6], 0xFF
000011A4 6C22 bge +0x24 /* 000011C8 */
000011A6 206C 002C movea.l A0, [A4 + 0x2C]
000011AA 2050 movea.l A0, [A0]
000011AC 3028 0006 move.w D0, [A0 + 0x6]
000011B0 48C0 ext.l D0
000011B2 E780 asl D0, 3
000011B4 2A00 move.l D5, D0
000011B6 7010 moveq.l D0, 0x10
000011B8 DA80 add.l D5, D0
000011BA 206C 002C movea.l A0, [A4 + 0x2C]
000011BE 2005 move.l D0, D5
000011C0 A024 syscall SetHandleSize
000011C2 3978 0220 000C move.w [A4 + 0xC], [0x00000220 /* MemErr */]
label000011C8:
000011C8 4AAC 0024 tst.l [A4 + 0x24]
000011CC 6632 bne +0x34 /* 00001200 */
000011CE 4AAC 0028 tst.l [A4 + 0x28]
000011D2 662C bne +0x2E /* 00001200 */
000011D4 297C 0048 0000 0028 move.l [A4 + 0x28], 0x480000 /* 'H\0\0' */
000011DC 297C 0048 0000 0024 move.l [A4 + 0x24], 0x480000 /* 'H\0\0' */
000011E4 601A bra +0x1C /* 00001200 */
label000011E6:
000011E6 302C 000E move.w D0, [A4 + 0xE]
000011EA 48C0 ext.l D0
000011EC D080 add.l D0, D0
000011EE 3940 000E move.w [A4 + 0xE], D0
000011F2 7010 moveq.l D0, 0x10
000011F4 B06C 000E cmp.w D0, [A4 + 0xE]
000011F8 6606 bne +0x8 /* 00001200 */
000011FA 397C 0020 000E move.w [A4 + 0xE], 0x20 /* ' ' */
label00001200:
00001200 7020 moveq.l D0, 0x20
00001202 B06C 000E cmp.w D0, [A4 + 0xE]
00001206 6F12 ble +0x14 /* 0000121A */
00001208 302C 000E move.w D0, [A4 + 0xE]
0000120C 7201 moveq.l D1, 0x01
0000120E E1A9 lsl D1, D0
00001210 302C 0010 move.w D0, [A4 + 0x10]
00001214 48C0 ext.l D0
00001216 B280 cmp.l D1, D0
00001218 6DCC blt -0x32 /* 000011E6 */
label0000121A:
0000121A 2F2E FFE0 move.l -[A7], [A6 - 0x20]
0000121E A873 syscall SetPort
00001220 2F0B move.l -[A7], A3
00001222 A87D syscall ClosePort
00001224 204B movea.l A0, A3
00001226 A01F syscall DisposPtr/DisposePtr
00001228 302C 000C move.w D0, [A4 + 0xC]
label0000122C:
0000122C 4CEE 18E0 FF76 movem.l D5,D6,D7,A3,A4, [A6 - 0x8A]
00001232 4E5E unlink A6
00001234 4E75 rts
00001236 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_25: // at 00001238 (misaligned)
0000123A 0000 302E ori.b D0, 0x2E /* '.' */
0000123E 0008 48C0 ori.b A0, 0xC0
00001242 7210 moveq.l D1, 0x10
00001244 E3A8 lsl D0, D1
00001246 322E 000A move.w D1, [A6 + 0xA]
0000124A 48C1 ext.l D1
0000124C C280 and.l D1, D0
0000124E 2D41 000C move.l [A6 + 0xC], D1
00001252 4E5E unlink A6
00001254 4E74 0004 rtd 0x0004
export_26:
fn00001258:
00001258 4E56 0000 link A6, 0
0000125C 2F0C move.l -[A7], A4
0000125E 286E 0008 movea.l A4, [A6 + 0x8]
00001262 200C move.l D0, A4
00001264 660E bne +0x10 /* 00001274 */
00001266 7004 moveq.l D0, 0x04
00001268 2F00 move.l -[A7], D0
0000126A 4EBA 0C64 jsr [PC + 0xC64 /* 00001ED0 */]
0000126E 2840 movea.l A4, D0
00001270 200C move.l D0, A4
00001272 584F addq.w A7, 4
label00001274:
00001274 200C move.l D0, A4
00001276 286E FFFC movea.l A4, [A6 - 0x4]
0000127A 4E5E unlink A6
0000127C 4E75 rts
0000127E 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_27: // at 00001280 (misaligned)
00001282 0000 2F0C ori.b D0, 0xC
00001286 286E 0008 movea.l A4, [A6 + 0x8]
0000128A 7000 moveq.l D0, 0x00
0000128C 102E 000F move.b D0, [A6 + 0xF]
00001290 4A80 tst.l D0
00001292 6604 bne +0x6 /* 00001298 */
00001294 200C move.l D0, A4
00001296 6006 bra +0x8 /* 0000129E */
label00001298:
00001298 204C movea.l A0, A4
0000129A 5488 addq.l A0, 2
0000129C 2008 move.l D0, A0
label0000129E:
0000129E 286E FFFC movea.l A4, [A6 - 0x4]
000012A2 4E5E unlink A6
000012A4 4E75 rts
000012A6 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_28: // at 000012A8 (misaligned)
000012AA FFFC .invalid <<F/7/7>>
000012AC 48E7 0018 movem.l -[A7], A3,A4
000012B0 266E 000C movea.l A3, [A6 + 0xC]
000012B4 286E 0008 movea.l A4, [A6 + 0x8]
000012B8 486E FFFC pea.l [A6 - 0x4]
000012BC 4EBA FF9A jsr [PC - 0x66 /* 00001258 */]
000012C0 3013 move.w D0, [A3]
000012C2 D054 add.w D0, [A4]
000012C4 3D40 FFFC move.w [A6 - 0x4], D0
000012C8 302B 0002 move.w D0, [A3 + 0x2]
000012CC D06C 0002 add.w D0, [A4 + 0x2]
000012D0 3D40 FFFE move.w [A6 - 0x2], D0
000012D4 202E FFFC move.l D0, [A6 - 0x4]
000012D8 4CEE 1800 FFF4 movem.l A3,A4, [A6 - 0xC]
000012DE 4E5E unlink A6
000012E0 4E75 rts
000012E2 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_29: // at 000012E4 (misaligned)
000012E6 FFFC .invalid <<F/7/7>>
000012E8 48E7 0018 movem.l -[A7], A3,A4
000012EC 266E 000C movea.l A3, [A6 + 0xC]
000012F0 286E 0008 movea.l A4, [A6 + 0x8]
000012F4 486E FFFC pea.l [A6 - 0x4]
000012F8 4EBA FF5E jsr [PC - 0xA2 /* 00001258 */]
000012FC 3014 move.w D0, [A4]
000012FE 9053 sub.w D0, [A3]
00001300 3D40 FFFC move.w [A6 - 0x4], D0
00001304 302C 0002 move.w D0, [A4 + 0x2]
00001308 906B 0002 sub.w D0, [A3 + 0x2]
0000130C 3D40 FFFE move.w [A6 - 0x2], D0
00001310 202E FFFC move.l D0, [A6 - 0x4]
00001314 4CEE 1800 FFF4 movem.l A3,A4, [A6 - 0xC]
0000131A 4E5E unlink A6
0000131C 4E75 rts
0000131E 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_30: // at 00001320 (misaligned)
00001322 0000 48E7 ori.b D0, 0xE7
00001326 0018 266E ori.b [A0]+, 0x6E /* 'n' */
0000132A 000C 286E ori.b A4, 0x6E /* 'n' */
0000132E 0008 3013 ori.b A0, 0x13
00001332 9154 sub.w [A4], D0
00001334 302B 0002 move.w D0, [A3 + 0x2]
00001338 916C 0002 sub.w [A4 + 0x2], D0
0000133C 200C move.l D0, A4
0000133E 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
00001344 4E5E unlink A6
00001346 4E75 rts
export_31:
00001348 4E56 0000 link A6, 0
0000134C 48E7 1018 movem.l -[A7], D3,A3,A4
00001350 266E 000C movea.l A3, [A6 + 0xC]
00001354 286E 0008 movea.l A4, [A6 + 0x8]
00001358 7601 moveq.l D3, 0x01
0000135A 3014 move.w D0, [A4]
0000135C B053 cmp.w D0, [A3]
0000135E 660C bne +0xE /* 0000136C */
00001360 302C 0002 move.w D0, [A4 + 0x2]
00001364 B06B 0002 cmp.w D0, [A3 + 0x2]
00001368 6602 bne +0x4 /* 0000136C */
0000136A 7600 moveq.l D3, 0x00
label0000136C:
0000136C 1003 move.b D0, D3
0000136E 4CEE 1808 FFF4 movem.l D3,A3,A4, [A6 - 0xC]
00001374 4E5E unlink A6
00001376 4E75 rts
export_32:
fn00001378:
00001378 4E56 0000 link A6, 0
0000137C 2F0C move.l -[A7], A4
0000137E 286E 0008 movea.l A4, [A6 + 0x8]
00001382 7000 moveq.l D0, 0x00
00001384 102E 000F move.b D0, [A6 + 0xF]
00001388 4A80 tst.l D0
0000138A 6604 bne +0x6 /* 00001390 */
0000138C 200C move.l D0, A4
0000138E 6006 bra +0x8 /* 00001396 */
label00001390:
00001390 204C movea.l A0, A4
00001392 5888 addq.l A0, 4
00001394 2008 move.l D0, A0
label00001396:
00001396 286E FFFC movea.l A4, [A6 - 0x4]
0000139A 4E5E unlink A6
0000139C 4E75 rts
0000139E 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_33: // at 000013A0 (misaligned)
000013A2 FFF8 .invalid <<F/7/7>>
000013A4 48E7 0018 movem.l -[A7], A3,A4
000013A8 266E 000C movea.l A3, [A6 + 0xC]
000013AC 286E 0008 movea.l A4, [A6 + 0x8]
000013B0 206E 0010 movea.l A0, [A6 + 0x10]
000013B4 3014 move.w D0, [A4]
000013B6 9050 sub.w D0, [A0]
000013B8 3D40 FFF8 move.w [A6 - 0x8], D0
000013BC 206E 0010 movea.l A0, [A6 + 0x10]
000013C0 302C 0002 move.w D0, [A4 + 0x2]
000013C4 9068 0002 sub.w D0, [A0 + 0x2]
000013C8 3D40 FFFA move.w [A6 - 0x6], D0
000013CC 206E 0010 movea.l A0, [A6 + 0x10]
000013D0 302C 0004 move.w D0, [A4 + 0x4]
000013D4 9050 sub.w D0, [A0]
000013D6 3D40 FFFC move.w [A6 - 0x4], D0
000013DA 206E 0010 movea.l A0, [A6 + 0x10]
000013DE 302C 0006 move.w D0, [A4 + 0x6]
000013E2 9068 0002 sub.w D0, [A0 + 0x2]
000013E6 3D40 FFFE move.w [A6 - 0x2], D0
000013EA 36AE FFF8 move.w [A3], [A6 - 0x8]
000013EE 376E FFFA 0002 move.w [A3 + 0x2], [A6 - 0x6]
000013F4 376E FFFC 0004 move.w [A3 + 0x4], [A6 - 0x4]
000013FA 376E FFFE 0006 move.w [A3 + 0x6], [A6 - 0x2]
00001400 4CEE 1800 FFF0 movem.l A3,A4, [A6 - 0x10]
00001406 4E5E unlink A6
00001408 4E75 rts
0000140A 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_34: // at 0000140C (misaligned)
0000140E 0000 48E7 ori.b D0, 0xE7
00001412 0018 266E ori.b [A0]+, 0x6E /* 'n' */
00001416 000C 286E ori.b A4, 0x6E /* 'n' */
0000141A 0008 3013 ori.b A0, 0x13
0000141E D154 add.w [A4], D0
00001420 302B 0002 move.w D0, [A3 + 0x2]
00001424 D16C 0002 add.w [A4 + 0x2], D0
00001428 3013 move.w D0, [A3]
0000142A D16C 0004 add.w [A4 + 0x4], D0
0000142E 302B 0002 move.w D0, [A3 + 0x2]
00001432 D16C 0006 add.w [A4 + 0x6], D0
00001436 200C move.l D0, A4
00001438 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
0000143E 4E5E unlink A6
00001440 4E75 rts
00001442 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_35: // at 00001444 (misaligned)
00001446 0000 48E7 ori.b D0, 0xE7
0000144A 0018 266E ori.b [A0]+, 0x6E /* 'n' */
0000144E 000C 286E ori.b A4, 0x6E /* 'n' */
00001452 0008 3013 ori.b A0, 0x13
00001456 9154 sub.w [A4], D0
00001458 302B 0002 move.w D0, [A3 + 0x2]
0000145C 916C 0002 sub.w [A4 + 0x2], D0
00001460 3013 move.w D0, [A3]
00001462 916C 0004 sub.w [A4 + 0x4], D0
00001466 302B 0002 move.w D0, [A3 + 0x2]
0000146A 916C 0006 sub.w [A4 + 0x6], D0
0000146E 200C move.l D0, A4
00001470 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
00001476 4E5E unlink A6
00001478 4E75 rts
0000147A 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_36: // at 0000147C (misaligned)
0000147E 0000 48E7 ori.b D0, 0xE7
00001482 0018 266E ori.b [A0]+, 0x6E /* 'n' */
00001486 000C 286E ori.b A4, 0x6E /* 'n' */
0000148A 0008 3013 ori.b A0, 0x13
0000148E D154 add.w [A4], D0
00001490 302B 0002 move.w D0, [A3 + 0x2]
00001494 D16C 0002 add.w [A4 + 0x2], D0
00001498 3013 move.w D0, [A3]
0000149A 916C 0004 sub.w [A4 + 0x4], D0
0000149E 302B 0002 move.w D0, [A3 + 0x2]
000014A2 916C 0006 sub.w [A4 + 0x6], D0
000014A6 200C move.l D0, A4
000014A8 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
000014AE 4E5E unlink A6
000014B0 4E75 rts
000014B2 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_37: // at 000014B4 (misaligned)
000014B6 0000 48E7 ori.b D0, 0xE7
000014BA 1018 move.b D0, [A0]+
000014BC 266E 000C movea.l A3, [A6 + 0xC]
000014C0 286E 0008 movea.l A4, [A6 + 0x8]
000014C4 7600 moveq.l D3, 0x00
000014C6 3014 move.w D0, [A4]
000014C8 B053 cmp.w D0, [A3]
000014CA 6620 bne +0x22 /* 000014EC */
000014CC 302C 0002 move.w D0, [A4 + 0x2]
000014D0 B06B 0002 cmp.w D0, [A3 + 0x2]
000014D4 6616 bne +0x18 /* 000014EC */
000014D6 302C 0004 move.w D0, [A4 + 0x4]
000014DA B06B 0004 cmp.w D0, [A3 + 0x4]
000014DE 660C bne +0xE /* 000014EC */
000014E0 302C 0006 move.w D0, [A4 + 0x6]
000014E4 B06B 0006 cmp.w D0, [A3 + 0x6]
000014E8 6602 bne +0x4 /* 000014EC */
000014EA 7601 moveq.l D3, 0x01
label000014EC:
000014EC 1003 move.b D0, D3
000014EE 4CEE 1808 FFF4 movem.l D3,A3,A4, [A6 - 0xC]
000014F4 4E5E unlink A6
000014F6 4E75 rts
export_38:
000014F8 4E56 0000 link A6, 0
000014FC 48E7 1018 movem.l -[A7], D3,A3,A4
00001500 266E 000C movea.l A3, [A6 + 0xC]
00001504 286E 0008 movea.l A4, [A6 + 0x8]
00001508 7601 moveq.l D3, 0x01
0000150A 3014 move.w D0, [A4]
0000150C B053 cmp.w D0, [A3]
0000150E 6620 bne +0x22 /* 00001530 */
00001510 302C 0002 move.w D0, [A4 + 0x2]
00001514 B06B 0002 cmp.w D0, [A3 + 0x2]
00001518 6616 bne +0x18 /* 00001530 */
0000151A 302C 0004 move.w D0, [A4 + 0x4]
0000151E B06B 0004 cmp.w D0, [A3 + 0x4]
00001522 660C bne +0xE /* 00001530 */
00001524 302C 0006 move.w D0, [A4 + 0x6]
00001528 B06B 0006 cmp.w D0, [A3 + 0x6]
0000152C 6602 bne +0x4 /* 00001530 */
0000152E 7600 moveq.l D3, 0x00
label00001530:
00001530 1003 move.b D0, D3
00001532 4CEE 1808 FFF4 movem.l D3,A3,A4, [A6 - 0xC]
00001538 4E5E unlink A6
0000153A 4E75 rts
export_39:
0000153C 4E56 0000 link A6, 0
00001540 48E7 1008 movem.l -[A7], D3,A4
00001544 286E 0008 movea.l A4, [A6 + 0x8]
00001548 7601 moveq.l D3, 0x01
0000154A 302C 0006 move.w D0, [A4 + 0x6]
0000154E B06C 0002 cmp.w D0, [A4 + 0x2]
00001552 6F0A ble +0xC /* 0000155E */
00001554 302C 0004 move.w D0, [A4 + 0x4]
00001558 B054 cmp.w D0, [A4]
0000155A 6F02 ble +0x4 /* 0000155E */
0000155C 7600 moveq.l D3, 0x00
label0000155E:
0000155E 1003 move.b D0, D3
00001560 4CEE 1008 FFF8 movem.l D3,A4, [A6 - 0x8]
00001566 4E5E unlink A6
00001568 4E75 rts
0000156A 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_40: // at 0000156C (misaligned)
0000156E 0000 2F0C ori.b D0, 0xC
00001572 286E 0008 movea.l A4, [A6 + 0x8]
00001576 7000 moveq.l D0, 0x00
00001578 102E 000F move.b D0, [A6 + 0xF]
0000157C 4A80 tst.l D0
0000157E 6608 bne +0xA /* 00001588 */
00001580 302C 0004 move.w D0, [A4 + 0x4]
00001584 9054 sub.w D0, [A4]
00001586 6008 bra +0xA /* 00001590 */
label00001588:
00001588 302C 0006 move.w D0, [A4 + 0x6]
0000158C 906C 0002 sub.w D0, [A4 + 0x2]
label00001590:
00001590 286E FFFC movea.l A4, [A6 - 0x4]
00001594 4E5E unlink A6
00001596 4E75 rts
export_41:
00001598 4E56 FFFC link A6, -0x0004
0000159C 2F0C move.l -[A7], A4
0000159E 286E 0008 movea.l A4, [A6 + 0x8]
000015A2 302C 0004 move.w D0, [A4 + 0x4]
000015A6 9054 sub.w D0, [A4]
000015A8 3D40 FFFC move.w [A6 - 0x4], D0
000015AC 302C 0006 move.w D0, [A4 + 0x6]
000015B0 906C 0002 sub.w D0, [A4 + 0x2]
000015B4 3D40 FFFE move.w [A6 - 0x2], D0
000015B8 202E FFFC move.l D0, [A6 - 0x4]
000015BC 286E FFF8 movea.l A4, [A6 - 0x8]
000015C0 4E5E unlink A6
000015C2 4E75 rts
export_42:
000015C4 4E56 0000 link A6, 0
000015C8 48E7 1018 movem.l -[A7], D3,A3,A4
000015CC 266E 000C movea.l A3, [A6 + 0xC]
000015D0 286E 0008 movea.l A4, [A6 + 0x8]
000015D4 7600 moveq.l D3, 0x00
000015D6 3013 move.w D0, [A3]
000015D8 B054 cmp.w D0, [A4]
000015DA 6D1E blt +0x20 /* 000015FA */
000015DC 3013 move.w D0, [A3]
000015DE B06C 0004 cmp.w D0, [A4 + 0x4]
000015E2 6E16 bgt +0x18 /* 000015FA */
000015E4 302B 0002 move.w D0, [A3 + 0x2]
000015E8 B06C 0002 cmp.w D0, [A4 + 0x2]
000015EC 6D0C blt +0xE /* 000015FA */
000015EE 302B 0002 move.w D0, [A3 + 0x2]
000015F2 B06C 0006 cmp.w D0, [A4 + 0x6]
000015F6 6E02 bgt +0x4 /* 000015FA */
000015F8 7601 moveq.l D3, 0x01
label000015FA:
000015FA 1003 move.b D0, D3
000015FC 4CEE 1808 FFF4 movem.l D3,A3,A4, [A6 - 0xC]
00001602 4E5E unlink A6
00001604 4E75 rts
00001606 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_43: // at 00001608 (misaligned)
0000160A FFF8 .invalid <<F/7/7>>
0000160C 48E7 0018 movem.l -[A7], A3,A4
00001610 266E 000C movea.l A3, [A6 + 0xC]
00001614 286E 0008 movea.l A4, [A6 + 0x8]
00001618 3D54 FFF8 move.w [A6 - 0x8], [A4]
0000161C 3D6C 0002 FFFA move.w [A6 - 0x6], [A4 + 0x2]
00001622 3D6C 0004 FFFC move.w [A6 - 0x4], [A4 + 0x4]
00001628 3D6C 0006 FFFE move.w [A6 - 0x2], [A4 + 0x6]
0000162E 36AE FFF8 move.w [A3], [A6 - 0x8]
00001632 376E FFFA 0002 move.w [A3 + 0x2], [A6 - 0x6]
00001638 376E FFFC 0004 move.w [A3 + 0x4], [A6 - 0x4]
0000163E 376E FFFE 0006 move.w [A3 + 0x6], [A6 - 0x2]
00001644 4CEE 1800 FFF0 movem.l A3,A4, [A6 - 0x10]
0000164A 4E5E unlink A6
0000164C 4E75 rts
0000164E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00001650-00001654
export_44:
fn00001650:
00001650 4E56 FFFE link A6, -0x0002
// end alternate branch 00001650-00001654
export_44: // at 00001650 (misaligned)
fn00001650: // (misaligned)
00001652 FFFE .invalid <<F/7/7>>
00001654 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00001658 266E 000C movea.l A3, [A6 + 0xC]
0000165C 3C2E 0016 move.w D6, [A6 + 0x16]
00001660 3E2E 0012 move.w D7, [A6 + 0x12]
00001664 286E 0008 movea.l A4, [A6 + 0x8]
00001668 7000 moveq.l D0, 0x00
0000166A 1014 move.b D0, [A4]
0000166C 5240 addq.w D0, 1
0000166E B047 cmp.w D0, D7
00001670 6C10 bge +0x12 /* 00001682 */
00001672 7000 moveq.l D0, 0x00
00001674 1014 move.b D0, [A4]
00001676 BC40 cmp.w D6, D0
00001678 6F08 ble +0xA /* 00001682 */
0000167A 7000 moveq.l D0, 0x00
0000167C 1014 move.b D0, [A4]
0000167E 3E00 move.w D7, D0
00001680 5247 addq.w D7, 1
label00001682:
00001682 48C7 ext.l D7
00001684 7000 moveq.l D0, 0x00
00001686 1013 move.b D0, [A3]
00001688 D087 add.l D0, D7
0000168A 48C6 ext.l D6
0000168C BC80 cmp.l D6, D0
0000168E 6C10 bge +0x12 /* 000016A0 */
00001690 48C6 ext.l D6
00001692 48C7 ext.l D7
00001694 2006 move.l D0, D6
00001696 9087 sub.l D0, D7
00001698 5240 addq.w D0, 1
0000169A 3D40 FFFE move.w [A6 - 0x2], D0
0000169E 6008 bra +0xA /* 000016A8 */
label000016A0:
000016A0 7000 moveq.l D0, 0x00
000016A2 1013 move.b D0, [A3]
000016A4 3D40 FFFE move.w [A6 - 0x2], D0
label000016A8:
000016A8 48C7 ext.l D7
000016AA 302E FFFE move.w D0, [A6 - 0x2]
000016AE 48C0 ext.l D0
000016B0 D087 add.l D0, D7
000016B2 3A00 move.w D5, D0
000016B4 5345 subq.w D5, 1
000016B6 48C5 ext.l D5
000016B8 2005 move.l D0, D5
000016BA 5280 addq.l D0, 1
000016BC 7200 moveq.l D1, 0x00
000016BE 1214 move.b D1, [A4]
000016C0 48C7 ext.l D7
000016C2 9287 sub.l D1, D7
000016C4 5281 addq.l D1, 1
000016C6 D280 add.l D1, D0
000016C8 48C6 ext.l D6
000016CA BC81 cmp.l D6, D1
000016CC 6C06 bge +0x8 /* 000016D4 */
000016CE 3806 move.w D4, D6
000016D0 9845 sub.w D4, D5
000016D2 600A bra +0xC /* 000016DE */
label000016D4:
000016D4 7000 moveq.l D0, 0x00
000016D6 1014 move.b D0, [A4]
000016D8 9047 sub.w D0, D7
000016DA 3800 move.w D4, D0
000016DC 5244 addq.w D4, 1
label000016DE:
000016DE 48C4 ext.l D4
000016E0 2F04 move.l -[A7], D4
000016E2 4874 7000 pea.l [A4 + D7.w]
000016E6 48C5 ext.l D5
000016E8 2005 move.l D0, D5
000016EA 5280 addq.l D0, 1
000016EC 4874 0800 pea.l [A4 + D0]
000016F0 4EAD 3BF2 jsr [A5 + 0x3BF2 /* export_1914 */]
000016F4 302E FFFE move.w D0, [A6 - 0x2]
000016F8 48C0 ext.l D0
000016FA 2F00 move.l -[A7], D0
000016FC 486B 0001 pea.l [A3 + 0x1]
00001700 4874 7000 pea.l [A4 + D7.w]
00001704 4EAD 3BF2 jsr [A5 + 0x3BF2 /* export_1914 */]
00001708 48C4 ext.l D4
0000170A 48C5 ext.l D5
0000170C 2004 move.l D0, D4
0000170E D085 add.l D0, D5
00001710 1880 move.b [A4], D0
00001712 4CEE 18F0 FFE6 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x1A]
00001718 4E5E unlink A6
0000171A 4E75 rts
fn0000171C:
0000171C 4E56 FF00 link A6, -0x0100
00001720 302E 0016 move.w D0, [A6 + 0x16]
00001724 48C0 ext.l D0
00001726 2F00 move.l -[A7], D0
00001728 302E 0012 move.w D0, [A6 + 0x12]
0000172C 48C0 ext.l D0
0000172E 2F00 move.l -[A7], D0
00001730 2F2E 000C move.l -[A7], [A6 + 0xC]
00001734 486E FF00 pea.l [A6 - 0x100]
00001738 4EBA 012E jsr [PC + 0x12E /* 00001868 */]
0000173C 508F addq.l A7, 8
0000173E 2F00 move.l -[A7], D0
00001740 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001744 4EBA FF0A jsr [PC - 0xF6 /* 00001650 */]
00001748 4E5E unlink A6
0000174A 4E75 rts
export_45:
0000174C 4E56 0000 link A6, 0
00001750 206E 0008 movea.l A0, [A6 + 0x8]
00001754 302E 000E move.w D0, [A6 + 0xE]
00001758 D0C0 add.w A0, D0
0000175A 2008 move.l D0, A0
0000175C 4E5E unlink A6
0000175E 4E75 rts
export_46:
00001760 4E56 0000 link A6, 0
00001764 48E7 0018 movem.l -[A7], A3,A4
00001768 47ED EF3C lea.l A3, [A5 - 0x10C4]
0000176C 286E 0008 movea.l A4, [A6 + 0x8]
00001770 302D F33C move.w D0, [A5 - 0xCC4]
00001774 48C0 ext.l D0
00001776 5280 addq.l D0, 1
00001778 4C7C 0801 0000 0004 movem.l D0,A3, 0x4
00001780 4881 ext.w D1
00001782 3B41 F33C move.w [A5 - 0xCC4], D1
00001786 7000 moveq.l D0, 0x00
00001788 1014 move.b D0, [A4]
0000178A 2F00 move.l -[A7], D0
0000178C 486C 0001 pea.l [A4 + 0x1]
00001790 302D F33C move.w D0, [A5 - 0xCC4]
00001794 E140 asl D0.w, 8
00001796 4873 0000 pea.l [A3 + D0.w]
0000179A 4EAD 3C1A jsr [A5 + 0x3C1A /* export_1919 */]
0000179E 7000 moveq.l D0, 0x00
000017A0 1014 move.b D0, [A4]
000017A2 322D F33C move.w D1, [A5 - 0xCC4]
000017A6 E141 asl D1.w, 8
000017A8 D041 add.w D0, D1
000017AA 4233 0000 clr.b [A3 + D0.w]
000017AE 302D F33C move.w D0, [A5 - 0xCC4]
000017B2 E140 asl D0.w, 8
000017B4 41F3 0000 lea.l A0, [A3 + D0.w]
000017B8 2008 move.l D0, A0
000017BA 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
000017C0 4E5E unlink A6
000017C2 4E75 rts
fn000017C4:
000017C4 4E56 FF00 link A6, -0x0100
000017C8 48E7 1018 movem.l -[A7], D3,A3,A4
000017CC 47EE FF00 lea.l A3, [A6 - 0x100]
000017D0 286E 0008 movea.l A4, [A6 + 0x8]
000017D4 7000 moveq.l D0, 0x00
000017D6 1014 move.b D0, [A4]
000017D8 2F00 move.l -[A7], D0
000017DA 486C 0001 pea.l [A4 + 0x1]
000017DE 2F0B move.l -[A7], A3
000017E0 4EAD 3BEA jsr [A5 + 0x3BEA /* export_1913 */]
000017E4 7000 moveq.l D0, 0x00
000017E6 1014 move.b D0, [A4]
000017E8 4233 0000 clr.b [A3 + D0.w]
000017EC 2F2E 000C move.l -[A7], [A6 + 0xC]
000017F0 7000 moveq.l D0, 0x00
000017F2 102E 0013 move.b D0, [A6 + 0x13]
000017F6 5340 subq.w D0, 1
000017F8 4873 0000 pea.l [A3 + D0.w]
000017FC 4EAD 3C22 jsr [A5 + 0x3C22 /* export_1920 */]
00001800 2840 movea.l A4, D0
00001802 200C move.l D0, A4
00001804 56C3 sne D3
00001806 4403 neg.b D3
00001808 6708 beq +0xA /* 00001812 */
0000180A 200C move.l D0, A4
0000180C 908B sub.l D0, A3
0000180E 5280 addq.l D0, 1
00001810 6002 bra +0x4 /* 00001814 */
label00001812:
00001812 7000 moveq.l D0, 0x00
label00001814:
00001814 4FEF 0014 lea.l A7, [A7 + 0x14]
00001818 4CEE 1808 FEF4 movem.l D3,A3,A4, [A6 - 0x10C]
0000181E 4E5E unlink A6
00001820 4E75 rts
00001822 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_47: // at 00001824 (misaligned)
00001826 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
00001828 48E7 0018 movem.l -[A7], A3,A4
0000182C 47EE FF00 lea.l A3, [A6 - 0x100]
00001830 286E 000C movea.l A4, [A6 + 0xC]
00001834 7000 moveq.l D0, 0x00
00001836 1014 move.b D0, [A4]
00001838 2F00 move.l -[A7], D0
0000183A 486C 0001 pea.l [A4 + 0x1]
0000183E 2F0B move.l -[A7], A3
00001840 4EAD 3BEA jsr [A5 + 0x3BEA /* export_1913 */]
00001844 7000 moveq.l D0, 0x00
00001846 1014 move.b D0, [A4]
00001848 4233 0000 clr.b [A3 + D0.w]
0000184C 7000 moveq.l D0, 0x00
0000184E 102E 0013 move.b D0, [A6 + 0x13]
00001852 2F00 move.l -[A7], D0
00001854 2F0B move.l -[A7], A3
00001856 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000185A 4EBA FF68 jsr [PC - 0x98 /* 000017C4 */]
0000185E 4CEE 1800 FEF8 movem.l A3,A4, [A6 - 0x108]
00001864 4E5E unlink A6
00001866 4E75 rts
export_48:
fn00001868:
00001868 4E56 0000 link A6, 0
0000186C 48E7 1018 movem.l -[A7], D3,A3,A4
00001870 266E 000C movea.l A3, [A6 + 0xC]
00001874 286E 0008 movea.l A4, [A6 + 0x8]
00001878 200C move.l D0, A4
0000187A 6610 bne +0x12 /* 0000188C */
0000187C 4878 0100 push.l 0x100
00001880 4EBA 064E jsr [PC + 0x64E /* 00001ED0 */]
00001884 2840 movea.l A4, D0
00001886 200C move.l D0, A4
00001888 584F addq.w A7, 4
0000188A 673A beq +0x3C /* 000018C6 */
label0000188C:
0000188C 200B move.l D0, A3
0000188E 57C3 seq D3
00001890 4403 neg.b D3
00001892 6704 beq +0x6 /* 00001898 */
00001894 7000 moveq.l D0, 0x00
00001896 600A bra +0xC /* 000018A2 */
label00001898:
00001898 2F0B move.l -[A7], A3
0000189A 4EAD 3C12 jsr [A5 + 0x3C12 /* export_1918 */]
0000189E 4A80 tst.l D0
000018A0 584F addq.w A7, 4
label000018A2:
000018A2 1880 move.b [A4], D0
000018A4 7000 moveq.l D0, 0x00
000018A6 1014 move.b D0, [A4]
000018A8 0C00 00FF cmpi.b D0, 0xFF
000018AC 6304 bls +0x6 /* 000018B2 */
000018AE 18BC 00FF move.b [A4], 0xFF
label000018B2:
000018B2 7000 moveq.l D0, 0x00
000018B4 1014 move.b D0, [A4]
000018B6 2F00 move.l -[A7], D0
000018B8 2F0B move.l -[A7], A3
000018BA 486C 0001 pea.l [A4 + 0x1]
000018BE 4EAD 3BEA jsr [A5 + 0x3BEA /* export_1913 */]
000018C2 4FEF 000C lea.l A7, [A7 + 0xC]
label000018C6:
000018C6 200C move.l D0, A4
000018C8 4CEE 1808 FFF4 movem.l D3,A3,A4, [A6 - 0xC]
000018CE 4E5E unlink A6
000018D0 4E75 rts
000018D2 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_49: // at 000018D4 (misaligned)
000018D6 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000018D8 48E7 1118 movem.l -[A7], D3,D7,A3,A4
000018DC 266E 0010 movea.l A3, [A6 + 0x10]
000018E0 286E 000C movea.l A4, [A6 + 0xC]
000018E4 41EE FF00 lea.l A0, [A6 - 0x100]
000018E8 200B move.l D0, A3
000018EA 57C3 seq D3
000018EC 4403 neg.b D3
000018EE 6704 beq +0x6 /* 000018F4 */
000018F0 7000 moveq.l D0, 0x00
000018F2 600A bra +0xC /* 000018FE */
label000018F4:
000018F4 2F0B move.l -[A7], A3
000018F6 4EAD 3C12 jsr [A5 + 0x3C12 /* export_1918 */]
000018FA 4A80 tst.l D0
000018FC 584F addq.w A7, 4
label000018FE:
000018FE 3E00 move.w D7, D0
00001900 7000 moveq.l D0, 0x00
00001902 1014 move.b D0, [A4]
00001904 48C7 ext.l D7
00001906 D087 add.l D0, D7
00001908 0C80 0000 00FF cmpi.l D0, 0xFF
0000190E 6F08 ble +0xA /* 00001918 */
00001910 1D7C 00FF FF00 move.b [A6 - 0x100], 0xFF
00001916 600C bra +0xE /* 00001924 */
label00001918:
00001918 7000 moveq.l D0, 0x00
0000191A 1014 move.b D0, [A4]
0000191C 48C7 ext.l D7
0000191E D087 add.l D0, D7
00001920 1D40 FF00 move.b [A6 - 0x100], D0
label00001924:
00001924 7000 moveq.l D0, 0x00
00001926 1014 move.b D0, [A4]
00001928 2F00 move.l -[A7], D0
0000192A 486C 0001 pea.l [A4 + 0x1]
0000192E 486E FF01 pea.l [A6 - 0xFF]
00001932 4EAD 3BEA jsr [A5 + 0x3BEA /* export_1913 */]
00001936 7000 moveq.l D0, 0x00
00001938 102E FF00 move.b D0, [A6 - 0x100]
0000193C 7200 moveq.l D1, 0x00
0000193E 1214 move.b D1, [A4]
00001940 9041 sub.w D0, D1
00001942 48C0 ext.l D0
00001944 2F00 move.l -[A7], D0
00001946 2F0B move.l -[A7], A3
00001948 7000 moveq.l D0, 0x00
0000194A 1014 move.b D0, [A4]
0000194C 5240 addq.w D0, 1
0000194E 41EE FF00 lea.l A0, [A6 - 0x100]
00001952 4870 0000 pea.l [A0 + D0.w]
00001956 4EAD 3BEA jsr [A5 + 0x3BEA /* export_1913 */]
0000195A 7000 moveq.l D0, 0x00
0000195C 102E FF00 move.b D0, [A6 - 0x100]
00001960 5240 addq.w D0, 1
00001962 48C0 ext.l D0
00001964 2F00 move.l -[A7], D0
00001966 486E FF00 pea.l [A6 - 0x100]
0000196A 206E 0008 movea.l A0, [A6 + 0x8]
0000196E 2F08 move.l -[A7], A0
00001970 4EAD 3BEA jsr [A5 + 0x3BEA /* export_1913 */]
00001974 206E 0008 movea.l A0, [A6 + 0x8]
00001978 4FEF 0024 lea.l A7, [A7 + 0x24]
0000197C 4CEE 1888 FEF0 movem.l D3,D7,A3,A4, [A6 - 0x110]
00001982 4E5E unlink A6
00001984 4E75 rts
00001986 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_50: // at 00001988 (misaligned)
0000198A FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
0000198C 48E7 0018 movem.l -[A7], A3,A4
00001990 266E 0010 movea.l A3, [A6 + 0x10]
00001994 286E 000C movea.l A4, [A6 + 0xC]
00001998 7000 moveq.l D0, 0x00
0000199A 1014 move.b D0, [A4]
0000199C 7200 moveq.l D1, 0x00
0000199E 1213 move.b D1, [A3]
000019A0 D240 add.w D1, D0
000019A2 0C41 00FF cmpi.w D1, 0xFF
000019A6 6308 bls +0xA /* 000019B0 */
000019A8 1D7C 00FF FF00 move.b [A6 - 0x100], 0xFF
000019AE 6008 bra +0xA /* 000019B8 */
label000019B0:
000019B0 1013 move.b D0, [A3]
000019B2 D014 add.b D0, [A4]
000019B4 1D40 FF00 move.b [A6 - 0x100], D0
label000019B8:
000019B8 7000 moveq.l D0, 0x00
000019BA 1014 move.b D0, [A4]
000019BC 2F00 move.l -[A7], D0
000019BE 486C 0001 pea.l [A4 + 0x1]
000019C2 486E FF01 pea.l [A6 - 0xFF]
000019C6 4EAD 3BEA jsr [A5 + 0x3BEA /* export_1913 */]
000019CA 7000 moveq.l D0, 0x00
000019CC 102E FF00 move.b D0, [A6 - 0x100]
000019D0 7200 moveq.l D1, 0x00
000019D2 1214 move.b D1, [A4]
000019D4 9041 sub.w D0, D1
000019D6 48C0 ext.l D0
000019D8 2F00 move.l -[A7], D0
000019DA 200B move.l D0, A3
000019DC 5280 addq.l D0, 1
000019DE 2F00 move.l -[A7], D0
000019E0 7000 moveq.l D0, 0x00
000019E2 1014 move.b D0, [A4]
000019E4 5240 addq.w D0, 1
000019E6 41EE FF00 lea.l A0, [A6 - 0x100]
000019EA 4870 0000 pea.l [A0 + D0.w]
000019EE 4EAD 3BEA jsr [A5 + 0x3BEA /* export_1913 */]
000019F2 7000 moveq.l D0, 0x00
000019F4 102E FF00 move.b D0, [A6 - 0x100]
000019F8 5240 addq.w D0, 1
000019FA 48C0 ext.l D0
000019FC 2F00 move.l -[A7], D0
000019FE 486E FF00 pea.l [A6 - 0x100]
00001A02 206E 0008 movea.l A0, [A6 + 0x8]
00001A06 2F08 move.l -[A7], A0
00001A08 4EAD 3BEA jsr [A5 + 0x3BEA /* export_1913 */]
00001A0C 206E 0008 movea.l A0, [A6 + 0x8]
00001A10 4CEE 1800 FEF8 movem.l A3,A4, [A6 - 0x108]
00001A16 4E5E unlink A6
00001A18 4E75 rts
00001A1A 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_51: // at 00001A1C (misaligned)
00001A1E 0000 2F0C ori.b D0, 0xC
00001A22 286E 0008 movea.l A4, [A6 + 0x8]
00001A26 4878 00FF push.l 0xFF
00001A2A 7000 moveq.l D0, 0x00
00001A2C 1014 move.b D0, [A4]
00001A2E 5240 addq.w D0, 1
00001A30 48C0 ext.l D0
00001A32 2F00 move.l -[A7], D0
00001A34 2F2E 000C move.l -[A7], [A6 + 0xC]
00001A38 2F0C move.l -[A7], A4
00001A3A 4EBA FC14 jsr [PC - 0x3EC /* 00001650 */]
00001A3E 200C move.l D0, A4
00001A40 286E FFFC movea.l A4, [A6 - 0x4]
00001A44 4E5E unlink A6
00001A46 4E75 rts
export_52:
00001A48 4E56 0000 link A6, 0
00001A4C 2F0C move.l -[A7], A4
00001A4E 286E 0008 movea.l A4, [A6 + 0x8]
00001A52 4878 00FF push.l 0xFF
00001A56 7000 moveq.l D0, 0x00
00001A58 1014 move.b D0, [A4]
00001A5A 5240 addq.w D0, 1
00001A5C 48C0 ext.l D0
00001A5E 2F00 move.l -[A7], D0
00001A60 2F2E 000C move.l -[A7], [A6 + 0xC]
00001A64 2F0C move.l -[A7], A4
00001A66 4EBA FCB4 jsr [PC - 0x34C /* 0000171C */]
00001A6A 200C move.l D0, A4
00001A6C 286E FFFC movea.l A4, [A6 - 0x4]
00001A70 4E5E unlink A6
00001A72 4E75 rts
export_53:
00001A74 4E56 0000 link A6, 0
00001A78 2F0C move.l -[A7], A4
00001A7A 286E 0008 movea.l A4, [A6 + 0x8]
00001A7E 5214 addq.b [A4], 1
00001A80 7000 moveq.l D0, 0x00
00001A82 1014 move.b D0, [A4]
00001A84 0C00 00FF cmpi.b D0, 0xFF
00001A88 620C bhi +0xE /* 00001A96 */
00001A8A 7000 moveq.l D0, 0x00
00001A8C 1014 move.b D0, [A4]
00001A8E 19AE 000F 0000 move.b [A4 + D0.w], [A6 + 0xF]
00001A94 6002 bra +0x4 /* 00001A98 */
label00001A96:
00001A96 5314 subq.b [A4], 1
label00001A98:
00001A98 200C move.l D0, A4
00001A9A 286E FFFC movea.l A4, [A6 - 0x4]
00001A9E 4E5E unlink A6
00001AA0 4E75 rts
00001AA2 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_54: // at 00001AA4 (misaligned)
00001AA6 0000 48E7 ori.b D0, 0xE7
00001AAA 0118 btst [A0]+, D0
00001AAC 266E 000C movea.l A3, [A6 + 0xC]
00001AB0 286E 0008 movea.l A4, [A6 + 0x8]
00001AB4 200B move.l D0, A3
00001AB6 6730 beq +0x32 /* 00001AE8 */
00001AB8 2F0B move.l -[A7], A3
00001ABA 4EAD 3C12 jsr [A5 + 0x3C12 /* export_1918 */]
00001ABE 2E00 move.l D7, D0
00001AC0 0C87 0000 00FF cmpi.l D7, 0xFF
00001AC6 584F addq.w A7, 4
00001AC8 6306 bls +0x8 /* 00001AD0 */
00001ACA 18BC 00FF move.b [A4], 0xFF
00001ACE 6002 bra +0x4 /* 00001AD2 */
label00001AD0:
00001AD0 1887 move.b [A4], D7
label00001AD2:
00001AD2 7000 moveq.l D0, 0x00
00001AD4 1014 move.b D0, [A4]
00001AD6 2F00 move.l -[A7], D0
00001AD8 2F0B move.l -[A7], A3
00001ADA 486C 0001 pea.l [A4 + 0x1]
00001ADE 4EAD 3BEA jsr [A5 + 0x3BEA /* export_1913 */]
00001AE2 4FEF 000C lea.l A7, [A7 + 0xC]
00001AE6 6002 bra +0x4 /* 00001AEA */
label00001AE8:
00001AE8 4214 clr.b [A4]
label00001AEA:
00001AEA 200C move.l D0, A4
00001AEC 4CEE 1880 FFF4 movem.l D7,A3,A4, [A6 - 0xC]
00001AF2 4E5E unlink A6
00001AF4 4E75 rts
00001AF6 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_55: // at 00001AF8 (misaligned)
00001AFA 0000 48E7 ori.b D0, 0xE7
00001AFE 1018 move.b D0, [A0]+
00001B00 266E 000C movea.l A3, [A6 + 0xC]
00001B04 286E 0008 movea.l A4, [A6 + 0x8]
00001B08 200C move.l D0, A4
00001B0A 6610 bne +0x12 /* 00001B1C */
00001B0C 7040 moveq.l D0, 0x40
00001B0E 2F00 move.l -[A7], D0
00001B10 4EBA 03BE jsr [PC + 0x3BE /* 00001ED0 */]
00001B14 2840 movea.l A4, D0
00001B16 200C move.l D0, A4
00001B18 584F addq.w A7, 4
00001B1A 673A beq +0x3C /* 00001B56 */
label00001B1C:
00001B1C 200B move.l D0, A3
00001B1E 57C3 seq D3
00001B20 4403 neg.b D3
00001B22 6704 beq +0x6 /* 00001B28 */
00001B24 7000 moveq.l D0, 0x00
00001B26 600A bra +0xC /* 00001B32 */
label00001B28:
00001B28 2F0B move.l -[A7], A3
00001B2A 4EAD 3C12 jsr [A5 + 0x3C12 /* export_1918 */]
00001B2E 4A80 tst.l D0
00001B30 584F addq.w A7, 4
label00001B32:
00001B32 1880 move.b [A4], D0
00001B34 7000 moveq.l D0, 0x00
00001B36 1014 move.b D0, [A4]
00001B38 0C00 003F cmpi.b D0, 0x3F /* '?' */
00001B3C 6304 bls +0x6 /* 00001B42 */
00001B3E 18BC 003F move.b [A4], 0x3F /* '?' */
label00001B42:
00001B42 7000 moveq.l D0, 0x00
00001B44 1014 move.b D0, [A4]
00001B46 2F00 move.l -[A7], D0
00001B48 2F0B move.l -[A7], A3
00001B4A 486C 0001 pea.l [A4 + 0x1]
00001B4E 4EAD 3BEA jsr [A5 + 0x3BEA /* export_1913 */]
00001B52 4FEF 000C lea.l A7, [A7 + 0xC]
label00001B56:
00001B56 200C move.l D0, A4
00001B58 4CEE 1808 FFF4 movem.l D3,A3,A4, [A6 - 0xC]
00001B5E 4E5E unlink A6
00001B60 4E75 rts
00001B62 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_56: // at 00001B64 (misaligned)
00001B66 0000 2F0C ori.b D0, 0xC
00001B6A 286E 0008 movea.l A4, [A6 + 0x8]
00001B6E 703F moveq.l D0, 0x3F
00001B70 2F00 move.l -[A7], D0
00001B72 7200 moveq.l D1, 0x00
00001B74 1214 move.b D1, [A4]
00001B76 5241 addq.w D1, 1
00001B78 48C1 ext.l D1
00001B7A 2F01 move.l -[A7], D1
00001B7C 2F2E 000C move.l -[A7], [A6 + 0xC]
00001B80 2F0C move.l -[A7], A4
00001B82 4EBA FACC jsr [PC - 0x534 /* 00001650 */]
00001B86 200C move.l D0, A4
00001B88 286E FFFC movea.l A4, [A6 - 0x4]
00001B8C 4E5E unlink A6
00001B8E 4E75 rts
export_57:
00001B90 4E56 0000 link A6, 0
00001B94 2F0C move.l -[A7], A4
00001B96 286E 0008 movea.l A4, [A6 + 0x8]
00001B9A 703F moveq.l D0, 0x3F
00001B9C 2F00 move.l -[A7], D0
00001B9E 7200 moveq.l D1, 0x00
00001BA0 1214 move.b D1, [A4]
00001BA2 5241 addq.w D1, 1
00001BA4 48C1 ext.l D1
00001BA6 2F01 move.l -[A7], D1
00001BA8 2F2E 000C move.l -[A7], [A6 + 0xC]
00001BAC 2F0C move.l -[A7], A4
00001BAE 4EBA FB6C jsr [PC - 0x494 /* 0000171C */]
00001BB2 200C move.l D0, A4
00001BB4 286E FFFC movea.l A4, [A6 - 0x4]
00001BB8 4E5E unlink A6
00001BBA 4E75 rts
export_58:
00001BBC 4E56 0000 link A6, 0
00001BC0 2F0C move.l -[A7], A4
00001BC2 286E 0008 movea.l A4, [A6 + 0x8]
00001BC6 5214 addq.b [A4], 1
00001BC8 7000 moveq.l D0, 0x00
00001BCA 1014 move.b D0, [A4]
00001BCC 0C00 001F cmpi.b D0, 0x1F
00001BD0 620C bhi +0xE /* 00001BDE */
00001BD2 7000 moveq.l D0, 0x00
00001BD4 1014 move.b D0, [A4]
00001BD6 19AE 000F 0000 move.b [A4 + D0.w], [A6 + 0xF]
00001BDC 6002 bra +0x4 /* 00001BE0 */
label00001BDE:
00001BDE 5314 subq.b [A4], 1
label00001BE0:
00001BE0 200C move.l D0, A4
00001BE2 286E FFFC movea.l A4, [A6 - 0x4]
00001BE6 4E5E unlink A6
00001BE8 4E75 rts
00001BEA 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00001BEC-00001BF2
fn00001BEC:
00001BEC 4E56 0000 link A6, 0
00001BF0 A9F4 syscall ExitToShell
// end alternate branch 00001BEC-00001BF2
fn00001BEC: // (misaligned)
00001BEE 0000 A9F4 ori.b D0, 0xF4
00001BF2 4E5E unlink A6
00001BF4 4E75 rts
00001BF6 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00001BF8-00001BFC
fn00001BF8:
00001BF8 4E56 FDF8 link A6, -0x0208
// end alternate branch 00001BF8-00001BFC
fn00001BF8: // (misaligned)
00001BFA FDF8 .invalid <<F/7/6>>
00001BFC 2F0C move.l -[A7], A4
00001BFE 7000 moveq.l D0, 0x00
00001C00 2D40 FFF8 move.l [A6 - 0x8], D0
00001C04 2D40 FFFC move.l [A6 - 0x4], D0
00001C08 2840 movea.l A4, D0
00001C0A 486D 5022 pea.l [A5 + 0x5022 /* export_2560 */]
00001C0E A9F1 syscall UnloadSeg
00001C10 598F subq.l A7, 4
00001C12 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
00001C18 487A 0096 pea.l [PC + 0x96 /* 00001CB0, value 0x4D414D61 'MAMa', cstring "MAMain" */]
00001C1C 486E FEF8 pea.l [A6 - 0x108]
00001C20 4EBA FC46 jsr [PC - 0x3BA /* 00001868 */]
00001C24 508F addq.l A7, 8
00001C26 2F00 move.l -[A7], D0
00001C28 A9A1 syscall GetNamedResource
00001C2A 285F movea.l A4, [A7]+
00001C2C 200C move.l D0, A4
00001C2E 6706 beq +0x8 /* 00001C36 */
00001C30 204C movea.l A0, A4
00001C32 A04A syscall HNoPurge
00001C34 6004 bra +0x6 /* 00001C3A */
label00001C36:
00001C36 4EBA FFB4 jsr [PC - 0x4C /* 00001BEC */]
label00001C3A:
00001C3A 598F subq.l A7, 4
00001C3C 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
00001C42 487A 0060 pea.l [PC + 0x60 /* 00001CA4, value 0x4D414D69 'MAMi', cstring "MAMiniInit" */]
00001C46 486E FDF8 pea.l [A6 - 0x208]
00001C4A 4EBA FC1C jsr [PC - 0x3E4 /* 00001868 */]
00001C4E 508F addq.l A7, 8
00001C50 2F00 move.l -[A7], D0
00001C52 A9A1 syscall GetNamedResource
00001C54 285F movea.l A4, [A7]+
00001C56 200C move.l D0, A4
00001C58 6706 beq +0x8 /* 00001C60 */
00001C5A 204C movea.l A0, A4
00001C5C A04A syscall HNoPurge
00001C5E 6004 bra +0x6 /* 00001C64 */
label00001C60:
00001C60 4EBA FF8A jsr [PC - 0x76 /* 00001BEC */]
label00001C64:
00001C64 486E FFF8 pea.l [A6 - 0x8]
00001C68 486E FFFC pea.l [A6 - 0x4]
00001C6C 4EBA 0E0A jsr [PC + 0xE0A /* 00002A78 */]
00001C70 0CAE 0000 0400 FFF8 cmpi.l [A6 - 0x8], 0x400
00001C78 6D06 blt +0x8 /* 00001C80 */
00001C7A 4EAD 4FF2 jsr [A5 + 0x4FF2 /* export_2554 */]
00001C7E 601C bra +0x1E /* 00001C9C */
label00001C80:
00001C80 203C 0000 0400 move.l D0, 0x400
00001C86 A122 syscall NewHandle, flags=1
00001C88 2848 movea.l A4, A0
00001C8A 200C move.l D0, A4
00001C8C 670A beq +0xC /* 00001C98 */
00001C8E 204C movea.l A0, A4
00001C90 A023 syscall DisposHandle/DisposeHandle
00001C92 4EAD 4FF2 jsr [A5 + 0x4FF2 /* export_2554 */]
00001C96 6004 bra +0x6 /* 00001C9C */
label00001C98:
00001C98 4EBA FF52 jsr [PC - 0xAE /* 00001BEC */]
label00001C9C:
00001C9C 286E FDF4 movea.l A4, [A6 - 0x20C]
00001CA0 4E5E unlink A6
00001CA2 4E75 rts
00001CA4 4D41 chk.w D6, D1
00001CA6 4D69 6E69 chk.w D6, [A1 + 0x6E69]
00001CAA 496E 6974 chk.w D4, [A6 + 0x6974]
00001CAE 0000 4D41 ori.b D0, 0x41 /* 'A' */
00001CB2 4D61 chk.w D6, -[A1]
00001CB4 696E bvs +0x70 /* 00001D24 */
00001CB6 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_59: // at 00001CB8 (misaligned)
00001CBA 0000 48E7 ori.b D0, 0xE7
00001CBE 0300 btst D0, D1
00001CC0 3C2E 0010 move.w D6, [A6 + 0x10]
00001CC4 2E2E 000C move.l D7, [A6 + 0xC]
00001CC8 4A46 tst.w D6
00001CCA 6712 beq +0x14 /* 00001CDE */
00001CCC 4A87 tst.l D7
00001CCE 6606 bne +0x8 /* 00001CD6 */
00001CD0 2E3C 0082 0001 move.l D7, 0x820001
label00001CD6:
00001CD6 3F06 move.w -[A7], D6
00001CD8 2F07 move.l -[A7], D7
00001CDA 4EAD 3702 jsr [A5 + 0x3702 /* export_1756 */]
label00001CDE:
00001CDE A9F4 syscall ExitToShell
00001CE0 4CEE 00C0 FFF8 movem.l D6,D7, [A6 - 0x8]
00001CE6 4E5E unlink A6
00001CE8 205F movea.l A0, [A7]+
00001CEA 4FEF 000A lea.l A7, [A7 + 0xA]
00001CEE 4ED0 jmp [A0]
fn00001CF0:
00001CF0 4E56 FFFC link A6, -0x0004
00001CF4 48E7 0108 movem.l -[A7], D7,A4
00001CF8 4A2D F860 tst.b [A5 - 0x7A0]
00001CFC 6604 bne +0x6 /* 00001D02 */
00001CFE 4EBA FEF8 jsr [PC - 0x108 /* 00001BF8 */]
label00001D02:
00001D02 41ED 372A lea.l A0, [A5 + 0x372A /* export_1761 */]
00001D06 2B48 F504 move.l [A5 - 0xAFC], A0
00001D0A 558F subq.l A7, 2
00001D0C 486D F864 pea.l [A5 - 0x79C]
00001D10 4EAD 4FFA jsr [A5 + 0x4FFA /* export_2555 */]
00001D14 4A1F tst.b [A7]+
00001D16 676C beq +0x6E /* 00001D84 */
00001D18 4A2D F86C tst.b [A5 - 0x794]
00001D1C 6708 beq +0xA /* 00001D26 */
00001D1E 42A7 clr.l -[A7]
00001D20 42A7 clr.l -[A7]
00001D22 F21F 9800 .fmove(m) 0xF21F, 0x9800 // unimplemented
// begin alternate branch 00001D24-00001D26
label00001D24:
00001D24 9800 sub.b D4, D0
// end alternate branch 00001D24-00001D26
label00001D24: // (misaligned)
label00001D26:
00001D26 486D F648 pea.l [A5 - 0x9B8]
00001D2A 486D 01FA pea.l [A5 + 0x1FA /* export_59 */]
00001D2E 486E FFFC pea.l [A6 - 0x4]
00001D32 4EAD 3952 jsr [A5 + 0x3952 /* export_1830 */]
00001D36 4EBA 00CC jsr [PC + 0xCC /* 00001E04 */]
00001D3A 4EAD 3A1A jsr [A5 + 0x3A1A /* export_1855 */]
00001D3E 2878 02AA movea.l A4, [0x000002AA /* ApplZone */]
00001D42 3E2C 0014 move.w D7, [A4 + 0x14]
00001D46 302E 0008 move.w D0, [A6 + 0x8]
00001D4A C1C7 muls.w D0, D7
00001D4C 3940 0014 move.w [A4 + 0x14], D0
00001D50 A036 syscall MoreMasters
00001D52 3947 0014 move.w [A4 + 0x14], D7
00001D56 4EAD 39BA jsr [A5 + 0x39BA /* export_1843 */]
00001D5A 558F subq.l A7, 2
00001D5C 486D 132A pea.l [A5 + 0x132A /* export_609 */]
00001D60 4EAD 39A2 jsr [A5 + 0x39A2 /* export_1840 */]
00001D64 3E1F move.w D7, [A7]+
00001D66 3F07 move.w -[A7], D7
00001D68 7001 moveq.l D0, 0x01
00001D6A 1F00 move.b -[A7], D0
00001D6C 4EAD 3A02 jsr [A5 + 0x3A02 /* export_1852 */]
00001D70 4EAD 132A jsr [A5 + 0x132A /* export_609 */]
00001D74 3F07 move.w -[A7], D7
00001D76 7000 moveq.l D0, 0x00
00001D78 1F00 move.b -[A7], D0
00001D7A 4EAD 3A02 jsr [A5 + 0x3A02 /* export_1852 */]
00001D7E 4EAD 3A1A jsr [A5 + 0x3A1A /* export_1855 */]
00001D82 600A bra +0xC /* 00001D8E */
label00001D84:
00001D84 3F3C 0089 move.w -[A7], 0x89
00001D88 4EAD 3712 jsr [A5 + 0x3712 /* export_1758 */]
00001D8C A9F4 syscall ExitToShell
label00001D8E:
00001D8E 4CEE 1080 FFF4 movem.l D7,A4, [A6 - 0xC]
00001D94 4E5E unlink A6
00001D96 205F movea.l A0, [A7]+
00001D98 544F addq.w A7, 2
00001D9A 4ED0 jmp [A0]
export_60:
00001D9C 4E56 FFF0 link A6, -0x0010
00001DA0 48E7 1100 movem.l -[A7], D3,D7
00001DA4 7E01 moveq.l D7, 0x01
00001DA6 6010 bra +0x12 /* 00001DB8 */
label00001DA8:
00001DA8 558F subq.l A7, 2
00001DAA 70FF moveq.l D0, 0xFFFFFFFF
00001DAC 3F00 move.w -[A7], D0
00001DAE 486E FFF0 pea.l [A6 - 0x10]
00001DB2 A971 syscall EventAvail
00001DB4 544F addq.w A7, 2
00001DB6 5247 addq.w D7, 1
label00001DB8:
00001DB8 0C47 0003 cmpi.w D7, 0x3
00001DBC 6FEA ble -0x14 /* 00001DA8 */
00001DBE 4CEE 0088 FFE8 movem.l D3,D7, [A6 - 0x18]
00001DC4 4E5E unlink A6
00001DC6 4E75 rts
export_61:
fn00001DC8:
00001DC8 4E56 FF00 link A6, -0x0100
00001DCC 48E7 0108 movem.l -[A7], D7,A4
00001DD0 286E 0008 movea.l A4, [A6 + 0x8]
00001DD4 4207 clr.b D7
00001DD6 200C move.l D0, A4
00001DD8 6718 beq +0x1A /* 00001DF2 */
00001DDA 4A2D F876 tst.b [A5 - 0x78A]
00001DDE 6708 beq +0xA /* 00001DE8 */
00001DE0 204C movea.l A0, A4
00001DE2 A069 syscall HGetState
00001DE4 1E00 move.b D7, D0
00001DE6 6004 bra +0x6 /* 00001DEC */
label00001DE8:
00001DE8 2E14 move.l D7, [A4]
00001DEA E687 asr D7, 3
label00001DEC:
00001DEC 204C movea.l A0, A4
00001DEE A064 syscall MoveHHi
00001DF0 A029 syscall HLock
label00001DF2:
00001DF2 1D47 000C move.b [A6 + 0xC], D7
00001DF6 4CEE 1080 FEF8 movem.l D7,A4, [A6 - 0x108]
00001DFC 4E5E unlink A6
00001DFE 2E9F move.l [A7], [A7]+
00001E00 4E75 rts
00001E02 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00001E04-00001E08
export_62:
fn00001E04:
00001E04 4E56 FFF8 link A6, -0x0008
// end alternate branch 00001E04-00001E08
export_62: // at 00001E04 (misaligned)
fn00001E04: // (misaligned)
00001E06 FFF8 .invalid <<F/7/7>>
00001E08 2F0C move.l -[A7], A4
00001E0A 7000 moveq.l D0, 0x00
00001E0C 2D40 FFFC move.l [A6 - 0x4], D0
00001E10 598F subq.l A7, 4
00001E12 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
00001E18 558F subq.l A7, 2
00001E1A 486D 5002 pea.l [A5 + 0x5002 /* export_2556 */]
00001E1E 4EAD 39A2 jsr [A5 + 0x39A2 /* export_1840 */]
00001E22 A9A0 syscall GetResource
00001E24 285F movea.l A4, [A7]+
00001E26 200C move.l D0, A4
00001E28 6710 beq +0x12 /* 00001E3A */
00001E2A 486D 5002 pea.l [A5 + 0x5002 /* export_2556 */]
00001E2E A9F1 syscall UnloadSeg
00001E30 558F subq.l A7, 2
00001E32 2F0C move.l -[A7], A4
00001E34 4EBA FF92 jsr [PC - 0x6E /* 00001DC8 */]
00001E38 544F addq.w A7, 2
label00001E3A:
00001E3A 486E FFF8 pea.l [A6 - 0x8]
00001E3E 486E FFFC pea.l [A6 - 0x4]
00001E42 4EAD 5002 jsr [A5 + 0x5002 /* export_2556 */]
00001E46 4EAD 3A1A jsr [A5 + 0x3A1A /* export_1855 */]
00001E4A 200C move.l D0, A4
00001E4C 6704 beq +0x6 /* 00001E52 */
00001E4E 204C movea.l A0, A4
00001E50 A02B syscall EmptyHandle
label00001E52:
00001E52 4EAD 39B2 jsr [A5 + 0x39B2 /* export_1842 */]
00001E56 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00001E5A 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001E5E 4EAD 39FA jsr [A5 + 0x39FA /* export_1851 */]
00001E62 4A2D F8C0 tst.b [A5 - 0x740]
00001E66 660E bne +0x10 /* 00001E76 */
00001E68 7094 moveq.l D0, 0xFFFFFF94
00001E6A 3F00 move.w -[A7], D0
00001E6C 7200 moveq.l D1, 0x00
00001E6E 2F01 move.l -[A7], D1
00001E70 4EAD 394A jsr [A5 + 0x394A /* export_1829 */]
00001E74 601C bra +0x1E /* 00001E92 */
label00001E76:
00001E76 558F subq.l A7, 2
00001E78 486D F8A0 pea.l [A5 - 0x760]
00001E7C 3F3C A9F0 move.w -[A7], 0xA9F0
00001E80 598F subq.l A7, 4
00001E82 486D 3A22 pea.l [A5 + 0x3A22 /* export_1856 */]
00001E86 4EAD 390A jsr [A5 + 0x390A /* export_1821 */]
00001E8A 4EAD 3A2A jsr [A5 + 0x3A2A /* export_1857 */]
00001E8E 4EAD 393A jsr [A5 + 0x393A /* export_1827 */]
label00001E92:
00001E92 286E FFF4 movea.l A4, [A6 - 0xC]
00001E96 4E5E unlink A6
00001E98 4E75 rts
00001E9A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00001E9C-00001EA2
label00001E9C:
00001E9C 4E56 0000 link A6, 0
00001EA0 4E5E unlink A6
// end alternate branch 00001E9C-00001EA2
label00001E9C: // (misaligned)
00001E9E 0000 4E5E ori.b D0, 0x5E /* '^' */
00001EA2 4E75 rts
export_63:
fn00001EA4:
00001EA4 4E56 0000 link A6, 0
00001EA8 2F0C move.l -[A7], A4
00001EAA 286E 0008 movea.l A4, [A6 + 0x8]
00001EAE 200C move.l D0, A4
00001EB0 6708 beq +0xA /* 00001EBA */
00001EB2 2F0C move.l -[A7], A4
00001EB4 4EAD 3BDA jsr [A5 + 0x3BDA /* export_1911 */]
00001EB8 584F addq.w A7, 4
label00001EBA:
00001EBA 286E FFFC movea.l A4, [A6 - 0x4]
00001EBE 4E5E unlink A6
00001EC0 4E75 rts
00001EC2 895F or.w [A7]+, D4
00001EC4 5F64 subq.w -[A4], 7
00001EC6 6C5F bge +0x61 /* 00001F27 */
00001EC8 5F46 subq.w D6, 7
00001ECA 5076 0000 addq.w [A6 + D0.w], 8
00001ECE 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00001ED0-00001ED8
export_64:
fn00001ED0:
00001ED0 4E56 0000 link A6, 0
00001ED4 48E7 0108 movem.l -[A7], D7,A4
// end alternate branch 00001ED0-00001ED8
export_64: // at 00001ED0 (misaligned)
fn00001ED0: // (misaligned)
00001ED2 0000 48E7 ori.b D0, 0xE7
00001ED6 0108 btst A0, D0
00001ED8 2E2E 0008 move.l D7, [A6 + 0x8]
00001EDC 6016 bra +0x18 /* 00001EF4 */
label00001EDE:
00001EDE 4AAD FAEC tst.l [A5 - 0x514]
00001EE2 670C beq +0xE /* 00001EF0 */
00001EE4 4A87 tst.l D7
00001EE6 6708 beq +0xA /* 00001EF0 */
00001EE8 206D FAEC movea.l A0, [A5 - 0x514]
00001EEC 4E90 jsr [A0]
00001EEE 6004 bra +0x6 /* 00001EF4 */
label00001EF0:
00001EF0 7000 moveq.l D0, 0x00
00001EF2 6014 bra +0x16 /* 00001F08 */
label00001EF4:
00001EF4 7001 moveq.l D0, 0x01
00001EF6 2F00 move.l -[A7], D0
00001EF8 2F07 move.l -[A7], D7
00001EFA 4EAD 3BBA jsr [A5 + 0x3BBA /* export_1907 */]
00001EFE 2840 movea.l A4, D0
00001F00 200C move.l D0, A4
00001F02 504F addq.w A7, 8
00001F04 67D8 beq -0x26 /* 00001EDE */
00001F06 200C move.l D0, A4
label00001F08:
00001F08 4CEE 1080 FFF8 movem.l D7,A4, [A6 - 0x8]
00001F0E 4E5E unlink A6
00001F10 4E75 rts
00001F12 895F or.w [A7]+, D4
00001F14 5F6E 775F subq.w [A6 + 0x775F], 7
00001F18 5F46 subq.w D6, 7
00001F1A 5569 0000 subq.w [A1 + 0x0], 2
00001F1E 0000 4EFA ori.b D0, 0xFA
// begin alternate branch 00001F20-00001F24
fn00001F20:
00001F20 4EFA FF7A jmp [PC - 0x86 /* 00001E9C */]
// end alternate branch 00001F20-00001F24
fn00001F20: // (misaligned)
00001F22 FF7A .extension 0xF7A <<F/4-5/7>> // unimplemented
fn00001F24:
00001F24 4EED 1EEA jmp [A5 + 0x1EEA /* export_985 */]
export_65:
fn00001F28:
00001F28 4E56 FFFC link A6, -0x0004
00001F2C 486E FFFC pea.l [A6 - 0x4]
00001F30 202E 0008 move.l D0, [A6 + 0x8]
00001F34 5480 addq.l D0, 2
00001F36 2F00 move.l -[A7], D0
00001F38 3F2E 000E move.w -[A7], [A6 + 0xE]
00001F3C 4EBA FFE6 jsr [PC - 0x1A /* 00001F24 */]
00001F40 202E FFFC move.l D0, [A6 - 0x4]
00001F44 4E5E unlink A6
00001F46 4E75 rts
00001F48 9D5F sub.w [A7]+, D6
00001F4A 5F6E 775F subq.w [A6 + 0x775F], 7
00001F4E 5F31 3250 subq.b [A1 + D3.w * 2 + 0x50], 7
00001F52 6173 bsr +0x75 /* 00001FC7 */
00001F54 6361 bls +0x63 /* 00001FB7 */
00001F56 6C4F bge +0x51 /* 00001FA7 */
00001F58 626A bhi +0x6C /* 00001FC4 */
00001F5A 6563 bcs +0x65 /* 00001FBF */
00001F5C 7453 moveq.l D2, 0x53
00001F5E 4650 not.w [A0]
00001F60 4676 5F76 not.w <<invalid full ext with IS == 1 and I/IS == 6>>
00001F64 5569 0000 subq.w [A1 + 0x0], 2
00001F68 202F 0004 move.l D0, [A7 + 0x4]
00001F6C 222F 0008 move.l D1, [A7 + 0x8]
export_66:
00001F70 2F00 move.l -[A7], D0
00001F72 C0C1 mulu.w D0, D1
00001F74 2040 movea.l A0, D0
00001F76 2001 move.l D0, D1
00001F78 C2DF mulu.w D1, [A7]+
00001F7A 4240 clr.w D0
00001F7C 4840 swap.w D0
00001F7E 6702 beq +0x4 /* 00001F82 */
00001F80 C0D7 mulu.w D0, [A7]
label00001F82:
00001F82 548F addq.l A7, 2
00001F84 D041 add.w D0, D1
00001F86 4840 swap.w D0
00001F88 4240 clr.w D0
00001F8A D088 add.l D0, A0
00001F8C 4E75 rts
00001F8E 0000 222F ori.b D0, 0x2F /* '/' */
00001F92 0004 202F ori.b D4, 0x2F /* '/' */
00001F96 0008 41FA ori.b A0, 0xFA
// begin alternate branch 00001F98-00001FA4
export_67:
fn00001F98:
00001F98 41FA 000A lea.l A0, [PC + 0xA /* 00001FA4, value 0x60064C41 */]
00001F9C 327C 0002 movea.w A1, 0x2
00001FA0 4EF0 92FE jmp [A0 + A1.w * 2 - 0x2]
// end alternate branch 00001F98-00001FA4
export_67: // at 00001F98 (misaligned)
fn00001F98: // (misaligned)
00001F9A 000A 327C ori.b A2, 0x7C /* '|' */
00001F9E 0002 4EF0 ori.b D2, 0xF0
00001FA2 92FE sub.w A1, <<invalid special address>>
00001FA4 6006 bra +0x8 /* 00001FAC */
00001FA6 4C41 0801 movem.l D0,A3, D1
00001FAA 4E75 rts
label00001FAC:
00001FAC 4EBA 0048 jsr [PC + 0x48 /* 00001FF6 */]
00001FB0 2001 move.l D0, D1
00001FB2 4E75 rts
00001FB4 222F 0004 move.l D1, [A7 + 0x4]
00001FB8 202F 0008 move.l D0, [A7 + 0x8]
export_68:
00001FBC 41FA 000A lea.l A0, [PC + 0xA /* 00001FC8, value 0x60064C41 */]
00001FC0 327C 0002 movea.w A1, 0x2
label00001FC4:
00001FC4 4EF0 92FE jmp [A0 + A1.w * 2 - 0x2]
00001FC8 6006 bra +0x8 /* 00001FD0 */
00001FCA 4C41 0001 movem.l D0, D1
00001FCE 4E75 rts
label00001FD0:
00001FD0 4EBA 0074 jsr [PC + 0x74 /* 00002046 */]
00001FD4 2001 move.l D0, D1
00001FD6 4E75 rts
00001FD8 222F 0004 move.l D1, [A7 + 0x4]
00001FDC 202F 0008 move.l D0, [A7 + 0x8]
export_69:
00001FE0 41FA 000A lea.l A0, [PC + 0xA /* 00001FEC, value 0x60084C41 */]
00001FE4 327C 0002 movea.w A1, 0x2
00001FE8 4EF0 92FE jmp [A0 + A1.w * 2 - 0x2]
00001FEC 6008 bra +0xA /* 00001FF6 */
00001FEE 4C41 0801 movem.l D0,A3, D1
00001FF2 C340 exg D1, D0
00001FF4 4E75 rts
fn00001FF6:
00001FF6 4A80 tst.l D0
00001FF8 6B14 bmi +0x16 /* 0000200E */
00001FFA 4A81 tst.l D1
00001FFC 6B06 bmi +0x8 /* 00002004 */
00001FFE 4EBA 0046 jsr [PC + 0x46 /* 00002046 */]
00002002 4E75 rts
label00002004:
00002004 4481 neg.l D1
00002006 4EBA 003E jsr [PC + 0x3E /* 00002046 */]
0000200A 4481 neg.l D1
0000200C 4E75 rts
label0000200E:
0000200E 4480 neg.l D0
00002010 4A81 tst.l D1
00002012 6B0A bmi +0xC /* 0000201E */
00002014 4EBA 0030 jsr [PC + 0x30 /* 00002046 */]
00002018 4480 neg.l D0
0000201A 4481 neg.l D1
0000201C 4E75 rts
label0000201E:
0000201E 4481 neg.l D1
00002020 4EBA 0024 jsr [PC + 0x24 /* 00002046 */]
00002024 4480 neg.l D0
00002026 4E75 rts
00002028 222F 0004 move.l D1, [A7 + 0x4]
0000202C 202F 0008 move.l D0, [A7 + 0x8]
export_70:
00002030 41FA 000A lea.l A0, [PC + 0xA /* 0000203C, value 0x60084C41 */]
00002034 327C 0002 movea.w A1, 0x2
00002038 4EF0 92FE jmp [A0 + A1.w * 2 - 0x2]
0000203C 6008 bra +0xA /* 00002046 */
0000203E 4C41 0001 movem.l D0, D1
00002042 C340 exg D1, D0
00002044 4E75 rts
fn00002046:
00002046 3F01 move.w -[A7], D1
00002048 4841 swap.w D1
0000204A 4A41 tst.w D1
0000204C 661C bne +0x1E /* 0000206A */
0000204E 2200 move.l D1, D0
00002050 4241 clr.w D1
00002052 4841 swap.w D1
00002054 670A beq +0xC /* 00002060 */
00002056 82D7 divu.w D1, [A7]
00002058 4841 swap.w D1
0000205A 4840 swap.w D0
0000205C 3001 move.w D0, D1
0000205E 4840 swap.w D0
label00002060:
00002060 80DF divu.w D0, [A7]+
00002062 3200 move.w D1, D0
00002064 4240 clr.w D0
00002066 4840 swap.w D0
00002068 4E75 rts
label0000206A:
0000206A 4841 swap.w D1
0000206C 3E82 move.w [A7], D2
0000206E 2F03 move.l -[A7], D3
00002070 3400 move.w D2, D0
00002072 2601 move.l D3, D1
00002074 7201 moveq.l D1, 0x01
00002076 4240 clr.w D0
00002078 4840 swap.w D0
0000207A 660C bne +0xE /* 00002088 */
0000207C 4840 swap.w D0
0000207E 3002 move.w D0, D2
00002080 7200 moveq.l D1, 0x00
00002082 6016 bra +0x18 /* 0000209A */
label00002084:
00002084 D241 add.w D1, D1
00002086 6512 bcs +0x14 /* 0000209A */
label00002088:
00002088 D442 add.w D2, D2
0000208A D180 addx.l D0, D0
0000208C B083 cmp.l D0, D3
0000208E 65F4 bcs -0xA /* 00002084 */
00002090 9083 sub.l D0, D3
00002092 D241 add.w D1, D1
00002094 08C1 0000 bset.b D1, 0x0
00002098 64EE bcc -0x10 /* 00002088 */
label0000209A:
0000209A 261F move.l D3, [A7]+
0000209C 341F move.w D2, [A7]+
0000209E 4E75 rts
fn000020A0:
000020A0 225F movea.l A1, [A7]+
000020A2 2057 movea.l A0, [A7]
000020A4 48D0 DEFC movem.l [A0], D2,D3,D4,D5,D6,D7,A1,A2,A3,A4,A6,A7
000020A8 7000 moveq.l D0, 0x00
000020AA 4ED1 jmp [A1]
fn000020AC:
000020AC 202F 0008 move.l D0, [A7 + 0x8]
000020B0 6602 bne +0x4 /* 000020B4 */
000020B2 7001 moveq.l D0, 0x01
label000020B4:
000020B4 206F 0004 movea.l A0, [A7 + 0x4]
000020B8 4CD0 DEFC movem.l D2,D3,D4,D5,D6,D7,A1,A2,A3,A4,A6,A7, [A0]
000020BC 4ED1 jmp [A1]
000020BE 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_71: // at 000020C0 (misaligned)
000020C2 0000 48E7 ori.b D0, 0xE7
000020C6 0300 btst D0, D1
000020C8 2C2E 0008 move.l D6, [A6 + 0x8]
000020CC 4AAD FCFA tst.l [A5 - 0x306]
000020D0 6608 bne +0xA /* 000020DA */
000020D2 41ED FBB0 lea.l A0, [A5 - 0x450]
000020D6 2B48 FCFA move.l [A5 - 0x306], A0
label000020DA:
000020DA 206D FCFA movea.l A0, [A5 - 0x306]
000020DE 4268 0002 clr.w [A0 + 0x2]
000020E2 7E01 moveq.l D7, 0x01
000020E4 6004 bra +0x6 /* 000020EA */
label000020E6:
000020E6 E286 asr D6, 1
000020E8 5287 addq.l D7, 1
label000020EA:
000020EA 7001 moveq.l D0, 0x01
000020EC C086 and.l D0, D6
000020EE 67F6 beq -0x8 /* 000020E6 */
000020F0 2007 move.l D0, D7
000020F2 E148 lsl D0.w, 8
000020F4 4840 swap.w D0
000020F6 4240 clr.w D0
000020F8 2F00 move.l -[A7], D0
000020FA 4EBA 052C jsr [PC + 0x52C /* 00002628 */]
000020FE 584F addq.w A7, 4
00002100 4CEE 00C0 FFF8 movem.l D6,D7, [A6 - 0x8]
00002106 4E5E unlink A6
00002108 4E75 rts
0000210A 8773 6967 or.w <<invalid full ext with IS == 1 and I/IS == 7>>, D3
0000210E 5F64 subq.w -[A4], 7
00002110 666C bne +0x6E /* 0000217E */
00002112 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002114-0000211A
fn00002114:
00002114 4E56 0000 link A6, 0
00002118 42A7 clr.l -[A7]
// end alternate branch 00002114-0000211A
fn00002114: // (misaligned)
00002116 0000 42A7 ori.b D0, 0xA7
0000211A 3F3C A86E move.w -[A7], 0xA86E
0000211E 1F3C 0001 move.b -[A7], 0x1
00002122 4EBA 065C jsr [PC + 0x65C /* 00002780 */]
00002126 42A7 clr.l -[A7]
00002128 3F3C AA6E move.w -[A7], 0xAA6E
0000212C 1F3C 0001 move.b -[A7], 0x1
00002130 4EBA 064E jsr [PC + 0x64E /* 00002780 */]
00002134 201F move.l D0, [A7]+
00002136 B09F cmp.l D0, [A7]+
00002138 6608 bne +0xA /* 00002142 */
0000213A 3D7C 0200 0008 move.w [A6 + 0x8], 0x200
00002140 6006 bra +0x8 /* 00002148 */
label00002142:
00002142 3D7C 0400 0008 move.w [A6 + 0x8], 0x400
label00002148:
00002148 4E5E unlink A6
0000214A 4E75 rts
0000214C 915F sub.w [A7]+, D0
0000214E 5F4E subq.w A6, 7
00002150 554D subq.w A5, 2
00002152 544F addq.w A7, 2
00002154 4F4C chk.w D7, A4
00002156 424F clr.w A7
00002158 5854 addq.w [A4], 4
0000215A 5241 addq.w D1, 1
0000215C 5053 addq.w [A3], 8
0000215E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002160-00002166
fn00002160:
00002160 4E56 0000 link A6, 0
00002164 7000 moveq.l D0, 0x00
// end alternate branch 00002160-00002166
fn00002160: // (misaligned)
00002162 0000 7000 ori.b D0, 0x0
00002166 302E 0008 move.w D0, [A6 + 0x8]
0000216A C0BC 0000 0800 and.l D0, 0x800
00002170 4A80 tst.l D0
00002172 6F08 ble +0xA /* 0000217C */
00002174 1D7C 0001 000A move.b [A6 + 0xA], 0x1
0000217A 6004 bra +0x6 /* 00002180 */
label0000217C:
0000217C 422E 000A clr.b [A6 + 0xA]
// begin alternate branch 0000217E-00002182
label0000217E:
0000217E 000A 4E5E ori.b A2, 0x5E /* '^' */
// end alternate branch 0000217E-00002182
label0000217E: // (misaligned)
label00002180:
00002180 4E5E unlink A6
00002182 205F movea.l A0, [A7]+
00002184 544F addq.w A7, 2
00002186 4ED0 jmp [A0]
00002188 8D5F or.w [A7]+, D6
0000218A 5F47 subq.w D7, 7
0000218C 4554 chk.w D2, [A4]
0000218E 5452 addq.w [A2], 2
00002190 4150 chk.w D0, [A0]
00002192 5459 addq.w [A1]+, 2
00002194 5045 addq.w D5, 8
00002196 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_72: // at 00002198 (misaligned)
0000219A FFFE .invalid <<F/7/7>>
0000219C 48E7 0300 movem.l -[A7], D6,D7
000021A0 3E2E 0008 move.w D7, [A6 + 0x8]
000021A4 4267 clr.w -[A7]
000021A6 3F07 move.w -[A7], D7
000021A8 4EBA FFB6 jsr [PC - 0x4A /* 00002160 */]
000021AC 1C1F move.b D6, [A7]+
000021AE 7001 moveq.l D0, 0x01
000021B0 B006 cmp.b D0, D6
000021B2 661A bne +0x1C /* 000021CE */
000021B4 7000 moveq.l D0, 0x00
000021B6 3007 move.w D0, D7
000021B8 C0BC 0000 07FF and.l D0, 0x7FF
000021BE 3E00 move.w D7, D0
000021C0 4267 clr.w -[A7]
000021C2 4EBA FF50 jsr [PC - 0xB0 /* 00002114 */]
000021C6 BE5F cmp.w D7, [A7]+
000021C8 6D04 blt +0x6 /* 000021CE */
000021CA 3E3C A89F move.w D7, 0xA89F
label000021CE:
000021CE 42A7 clr.l -[A7]
000021D0 3F07 move.w -[A7], D7
000021D2 1F06 move.b -[A7], D6
000021D4 4EBA 05AA jsr [PC + 0x5AA /* 00002780 */]
000021D8 42A7 clr.l -[A7]
000021DA 3F3C A89F move.w -[A7], 0xA89F
000021DE 1F3C 0001 move.b -[A7], 0x1
000021E2 4EBA 059C jsr [PC + 0x59C /* 00002780 */]
000021E6 201F move.l D0, [A7]+
000021E8 B09F cmp.l D0, [A7]+
000021EA 56C0 sne D0
000021EC 4400 neg.b D0
000021EE 1D40 000A move.b [A6 + 0xA], D0
000021F2 4CDF 00C0 movem.l D6,D7, [A7]+
000021F6 4E5E unlink A6
000021F8 205F movea.l A0, [A7]+
000021FA 544F addq.w A7, 2
000021FC 4ED0 jmp [A0]
000021FE 8D54 or.w [A4], D6
00002200 5241 addq.w D1, 1
00002202 5041 addq.w D1, 8
00002204 5641 addq.w D1, 3
00002206 494C chk.w D4, A4
00002208 4142 chk.w D0, D2
0000220A 4C45 0000 movem.l <none>, D5
0000220E 0000 201F ori.b D0, 0x1F
export_73: // at 00002210 (misaligned)
00002212 225F movea.l A1, [A7]+
00002214 205F movea.l A0, [A7]+
00002216 2F00 move.l -[A7], D0
00002218 7000 moveq.l D0, 0x00
0000221A 7200 moveq.l D1, 0x00
0000221C 1018 move.b D0, [A0]+
0000221E 1219 move.b D1, [A1]+
00002220 9041 sub.w D0, D1
00002222 6C02 bge +0x4 /* 00002226 */
00002224 D240 add.w D1, D0
label00002226:
00002226 B000 cmp.b D0, D0
00002228 6002 bra +0x4 /* 0000222C */
label0000222A:
0000222A B109 cmpm.b [A0]+, [A1]+
label0000222C:
0000222C 56C9 FFFC dbne D1, -0x6 /* 0000222A */
00002230 670A beq +0xC /* 0000223C */
00002232 6D04 blt +0x6 /* 00002238 */
00002234 7001 moveq.l D0, 0x01
00002236 6004 bra +0x6 /* 0000223C */
label00002238:
00002238 7001 moveq.l D0, 0x01
0000223A 4440 neg.w D0
label0000223C:
0000223C 3F40 0004 move.w [A7 + 0x4], D0
00002240 4E75 rts
00002242 8850 or.w D4, [A0]
00002244 4C53 7472 movem.l D1,D4,D5,D6,A2,A4,A5,A6, [A3]
00002248 436D 7000 chk.w D1, [A5 + 0x7000]
0000224C 0000 0000 ori.b D0, 0x0
fn00002250:
00002250 4E56 FFFC link A6, -0x0004
00002254 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00002258 4A6D FCE0 tst.w [A5 - 0x320]
0000225C 6600 00BC bne +0xBE /* 0000231A */
00002260 598F subq.l A7, 4
00002262 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
00002268 487A 00C8 pea.l [PC + 0xC8 /* 00002332, value 0x28255F53 '(%_S', pstring "%_Static_Constructor_Destructor_Pointers" */]
0000226C A820 syscall Get1NamedResource
0000226E 285F movea.l A4, [A7]+
00002270 200C move.l D0, A4
00002272 6700 00A6 beq +0xA8 /* 0000231A */
00002276 558F subq.l A7, 2
00002278 A994 syscall CurResFile
0000227A 558F subq.l A7, 2
0000227C 2F0C move.l -[A7], A4
0000227E A9A4 syscall HomeResFile
00002280 301F move.w D0, [A7]+
00002282 B05F cmp.w D0, [A7]+
00002284 6600 0094 bne +0x96 /* 0000231A */
00002288 41ED 0272 lea.l A0, [A5 + 0x272 /* export_74 */]
0000228C 226D FCFE movea.l A1, [A5 - 0x302]
00002290 2348 000C move.l [A1 + 0xC], A0
00002294 2654 movea.l A3, [A4]
00002296 3013 move.w D0, [A3]
00002298 0800 0000 btst.b D0, 0x0
0000229C 6708 beq +0xA /* 000022A6 */
0000229E 3B7C 0028 FCDC move.w [A5 - 0x324], 0x28 /* '(' */
000022A4 6006 bra +0x8 /* 000022AC */
label000022A6:
000022A6 3B7C 0004 FCDC move.w [A5 - 0x324], 0x4
label000022AC:
000022AC 598F subq.l A7, 4
000022AE 2F0C move.l -[A7], A4
000022B0 4EBA 04BE jsr [PC + 0x4BE /* 00002770 */]
000022B4 302D FCDC move.w D0, [A5 - 0x324]
000022B8 48C0 ext.l D0
000022BA 221F move.l D1, [A7]+
000022BC 9280 sub.l D1, D0
000022BE 2001 move.l D0, D1
000022C0 7204 moveq.l D1, 0x04
000022C2 4EBA FCD4 jsr [PC - 0x32C /* 00001F98 */]
000022C6 2C00 move.l D6, D0
000022C8 7000 moveq.l D0, 0x00
000022CA 2640 movea.l A3, D0
000022CC 6036 bra +0x38 /* 00002304 */
label000022CE:
000022CE 2F0C move.l -[A7], A4
000022D0 A9A2 syscall LoadResource
000022D2 302D FCDC move.w D0, [A5 - 0x324]
000022D6 48C0 ext.l D0
000022D8 D094 add.l D0, [A4]
000022DA 2D40 FFFC move.l [A6 - 0x4], D0
000022DE 302D FCE0 move.w D0, [A5 - 0x320]
000022E2 48C0 ext.l D0
000022E4 206E FFFC movea.l A0, [A6 - 0x4]
000022E8 E580 asl D0, 2
000022EA 3030 0800 move.w D0, [A0 + D0]
000022EE 48C0 ext.l D0
000022F0 2E00 move.l D7, D0
000022F2 6708 beq +0xA /* 000022FC */
000022F4 200D move.l D0, A5
000022F6 2640 movea.l A3, D0
000022F8 D7C7 add.l A3, D7
000022FA 4E93 jsr [A3]
label000022FC:
000022FC 302D FCE0 move.w D0, [A5 - 0x320]
00002300 526D FCE0 addq.w [A5 - 0x320], 1
label00002304:
00002304 302D FCE0 move.w D0, [A5 - 0x320]
00002308 48C0 ext.l D0
0000230A BC80 cmp.l D6, D0
0000230C 6EC0 bgt -0x3E /* 000022CE */
0000230E 200B move.l D0, A3
00002310 6704 beq +0x6 /* 00002316 */
00002312 2F0B move.l -[A7], A3
00002314 A9F1 syscall UnloadSeg
label00002316:
00002316 2F0C move.l -[A7], A4
00002318 A9A3 syscall ReleaseResource
label0000231A:
0000231A 4CEE 18C0 FFEC movem.l D6,D7,A3,A4, [A6 - 0x14]
00002320 4E5E unlink A6
00002322 4E75 rts
00002324 8B5F or.w [A7]+, D5
00002326 5F43 subq.w D3, 7
00002328 706C moveq.l D0, 0x6C
0000232A 7573 moveq.l D2, 0x73
0000232C 496E 6974 chk.w D4, [A6 + 0x6974]
00002330 002A 2825 5F53 ori.b [A2 + 0x5F53], 0x25 /* '%' */
00002336 7461 moveq.l D2, 0x61
00002338 7469 moveq.l D2, 0x69
0000233A 635F bls +0x61 /* 0000239B */
0000233C 436F 6E73 chk.w D1, [A7 + 0x6E73]
00002340 7472 moveq.l D2, 0x72
00002342 7563 moveq.l D2, 0x63
00002344 746F moveq.l D2, 0x6F
00002346 725F moveq.l D1, 0x5F
00002348 4465 neg.w -[A5]
0000234A 7374 moveq.l D1, 0x74
0000234C 7275 moveq.l D1, 0x75
0000234E 6374 bls +0x76 /* 000023C4 */
00002350 6F72 ble +0x74 /* 000023C4 */
00002352 5F50 subq.w [A0], 7
00002354 6F69 ble +0x6B /* 000023BF */
00002356 6E74 bgt +0x76 /* 000023CC */
00002358 6572 bcs +0x74 /* 000023CC */
0000235A 7300 moveq.l D1, 0x00
export_74:
0000235C 4E56 FFFC link A6, -0x0004
00002360 48E7 0118 movem.l -[A7], D7,A3,A4
00002364 4A6D FCE0 tst.w [A5 - 0x320]
00002368 6764 beq +0x66 /* 000023CE */
0000236A 598F subq.l A7, 4
0000236C 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
00002372 487A 0070 pea.l [PC + 0x70 /* 000023E4, value 0x28255F53 '(%_S', pstring "%_Static_Constructor_Destructor_Pointers" */]
00002376 A9A1 syscall GetNamedResource
00002378 285F movea.l A4, [A7]+
0000237A 200C move.l D0, A4
0000237C 6750 beq +0x52 /* 000023CE */
0000237E 558F subq.l A7, 2
00002380 A994 syscall CurResFile
00002382 558F subq.l A7, 2
00002384 2F0C move.l -[A7], A4
00002386 A9A4 syscall HomeResFile
00002388 301F move.w D0, [A7]+
0000238A B05F cmp.w D0, [A7]+
0000238C 6640 bne +0x42 /* 000023CE */
0000238E 6034 bra +0x36 /* 000023C4 */
label00002390:
00002390 2F0C move.l -[A7], A4
00002392 A9A2 syscall LoadResource
00002394 302D FCDC move.w D0, [A5 - 0x324]
00002398 48C0 ext.l D0
0000239A D094 add.l D0, [A4]
0000239C 2D40 FFFC move.l [A6 - 0x4], D0
000023A0 536D FCE0 subq.w [A5 - 0x320], 1
000023A4 302D FCE0 move.w D0, [A5 - 0x320]
000023A8 48C0 ext.l D0
000023AA 206E FFFC movea.l A0, [A6 - 0x4]
000023AE E580 asl D0, 2
000023B0 3030 0802 move.w D0, [A0 + D0 + 0x2]
000023B4 48C0 ext.l D0
000023B6 2E00 move.l D7, D0
000023B8 200D move.l D0, A5
000023BA 2640 movea.l A3, D0
000023BC D7C7 add.l A3, D7
000023BE 4A87 tst.l D7
000023C0 6702 beq +0x4 /* 000023C4 */
000023C2 4E93 jsr [A3]
label000023C4:
000023C4 4A6D FCE0 tst.w [A5 - 0x320]
000023C8 6EC6 bgt -0x38 /* 00002390 */
000023CA 2F0C move.l -[A7], A4
label000023CC:
000023CC A9A3 syscall ReleaseResource
label000023CE:
000023CE 4CEE 1880 FFF0 movem.l D7,A3,A4, [A6 - 0x10]
000023D4 4E5E unlink A6
000023D6 4E75 rts
000023D8 8964 or.w -[A4], D4
000023DA 746F moveq.l D2, 0x6F
000023DC 7273 moveq.l D1, 0x73
000023DE 5F5F subq.w [A7]+, 7
000023E0 4676 002A not.w [A6 + D0.w + 0x2A]
000023E4 2825 move.l D4, -[A5]
000023E6 5F53 subq.w [A3], 7
000023E8 7461 moveq.l D2, 0x61
000023EA 7469 moveq.l D2, 0x69
000023EC 635F bls +0x61 /* 0000244D */
000023EE 436F 6E73 chk.w D1, [A7 + 0x6E73]
000023F2 7472 moveq.l D2, 0x72
000023F4 7563 moveq.l D2, 0x63
000023F6 746F moveq.l D2, 0x6F
000023F8 725F moveq.l D1, 0x5F
000023FA 4465 neg.w -[A5]
000023FC 7374 moveq.l D1, 0x74
000023FE 7275 moveq.l D1, 0x75
00002400 6374 bls +0x76 /* 00002476 */
00002402 6F72 ble +0x74 /* 00002476 */
00002404 5F50 subq.w [A0], 7
00002406 6F69 ble +0x6B /* 00002471 */
00002408 6E74 bgt +0x76 /* 0000247E */
0000240A 6572 bcs +0x74 /* 0000247E */
0000240C 7300 moveq.l D1, 0x00
0000240E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002410-00002426
fn00002410:
00002410 4E56 0000 link A6, 0
00002414 48E7 1338 movem.l -[A7], D3,D6,D7,A2,A3,A4
00002418 2E2E 0018 move.l D7, [A6 + 0x18]
0000241C 266E 000C movea.l A3, [A6 + 0xC]
00002420 4EAD 502A jsr [A5 + 0x502A /* export_2561 */]
00002424 4A80 tst.l D0
// end alternate branch 00002410-00002426
fn00002410: // (misaligned)
00002412 0000 48E7 ori.b D0, 0xE7
00002416 1338 2E2E move.b -[A1], [0x00002E2E]
0000241A 0018 266E ori.b [A0]+, 0x6E /* 'n' */
0000241E 000C 4EAD ori.b A4, 0xAD
00002422 502A 4A80 addq.b [A2 + 0x4A80], 8
00002426 6706 beq +0x8 /* 0000242E */
00002428 70FF moveq.l D0, 0xFFFFFFFF
0000242A 6000 01C8 bra +0x1CA /* 000025F4 */
label0000242E:
0000242E 206D FCFE movea.l A0, [A5 - 0x302]
00002432 20AE 0008 move.l [A0], [A6 + 0x8]
00002436 7601 moveq.l D3, 0x01
00002438 4AB8 0316 tst.l [0x00000316 /* HpChk/MacPgm */]
0000243C 672C beq +0x2E /* 0000246A */
0000243E 7001 moveq.l D0, 0x01
00002440 C0B8 0316 and.l D0, [0x00000316 /* HpChk/MacPgm */]
00002444 6624 bne +0x26 /* 0000246A */
00002446 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
0000244A 0C90 4D50 474D cmpi.l [A0], 0x4D50474D /* 'MPGM' */
00002450 6618 bne +0x1A /* 0000246A */
00002452 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00002456 4AA8 0004 tst.l [A0 + 0x4]
0000245A 670E beq +0x10 /* 0000246A */
0000245C 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00002460 2068 0004 movea.l A0, [A0 + 0x4]
00002464 4A50 tst.w [A0]
00002466 6702 beq +0x4 /* 0000246A */
00002468 7600 moveq.l D3, 0x00
label0000246A:
0000246A 4883 ext.w D3
0000246C 48C3 ext.l D3
0000246E 2B43 FCE4 move.l [A5 - 0x31C], D3
00002472 6760 beq +0x62 /* 000024D4 */
00002474 41ED FDB8 lea.l A0, [A5 - 0x248]
// begin alternate branch 00002476-00002478
label00002476:
00002476 FDB8 .invalid <<F/6/6>>
// end alternate branch 00002476-00002478
label00002476: // (misaligned)
00002478 43F8 0910 lea.l A1, [0x00000910 /* CurApName */]
0000247C 7007 moveq.l D0, 0x07
label0000247E:
0000247E 20D9 move.l [A0]+, [A1]+
00002480 51C8 FFFC dbf D0, -0x6 /* 0000247E */
00002484 30D9 move.w [A0]+, [A1]+
00002486 41ED FDB8 lea.l A0, [A5 - 0x248]
0000248A 226D FCEE movea.l A1, [A5 - 0x312]
0000248E 2288 move.l [A1], A0
00002490 4A87 tst.l D7
00002492 660E bne +0x10 /* 000024A2 */
00002494 598F subq.l A7, 4
00002496 206D FCEE movea.l A0, [A5 - 0x312]
0000249A 2F10 move.l -[A7], [A0]
0000249C 4EBA 0EF2 jsr [PC + 0xEF2 /* 00003390 */]
000024A0 584F addq.w A7, 4
label000024A2:
000024A2 200B move.l D0, A3
000024A4 6704 beq +0x6 /* 000024AA */
000024A6 7001 moveq.l D0, 0x01
000024A8 2680 move.l [A3], D0
label000024AA:
000024AA 4AAE 0010 tst.l [A6 + 0x10]
000024AE 6708 beq +0xA /* 000024B8 */
000024B0 206E 0010 movea.l A0, [A6 + 0x10]
000024B4 20AD FCEE move.l [A0], [A5 - 0x312]
label000024B8:
000024B8 4AAE 0014 tst.l [A6 + 0x14]
000024BC 6708 beq +0xA /* 000024C6 */
000024BE 206E 0014 movea.l A0, [A6 + 0x14]
000024C2 20AD FCF2 move.l [A0], [A5 - 0x30E]
label000024C6:
000024C6 4EBA FD88 jsr [PC - 0x278 /* 00002250 */]
000024CA 7001 moveq.l D0, 0x01
000024CC 2B40 FCE4 move.l [A5 - 0x31C], D0
000024D0 6000 0122 bra +0x124 /* 000025F4 */
label000024D4:
000024D4 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
000024D8 2068 0004 movea.l A0, [A0 + 0x4]
000024DC 302D FCE8 move.w D0, [A5 - 0x318]
000024E0 B050 cmp.w D0, [A0]
000024E2 670C beq +0xE /* 000024F0 */
000024E4 2F3C 8000 0000 move.l -[A7], 0x80000000
000024EA 4EBA 013C jsr [PC + 0x13C /* 00002628 */]
000024EE 584F addq.w A7, 4
label000024F0:
000024F0 41ED FCE8 lea.l A0, [A5 - 0x318]
000024F4 2278 0316 movea.l A1, [0x00000316 /* HpChk/MacPgm */]
000024F8 2269 0004 movea.l A1, [A1 + 0x4]
000024FC 2348 0024 move.l [A1 + 0x24], A0
00002500 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
00002504 2B68 0004 FD0C move.l [A5 - 0x2F4], [A0 + 0x4]
0000250A 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
0000250E 2068 0004 movea.l A0, [A0 + 0x4]
00002512 2B68 0002 FCEA move.l [A5 - 0x316], [A0 + 0x2]
00002518 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
0000251C 2068 0004 movea.l A0, [A0 + 0x4]
00002520 2B68 0006 FCEE move.l [A5 - 0x312], [A0 + 0x6]
00002526 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
0000252A 2068 0004 movea.l A0, [A0 + 0x4]
0000252E 2B68 000A FCF2 move.l [A5 - 0x30E], [A0 + 0xA]
00002534 4A87 tst.l D7
00002536 672C beq +0x2E /* 00002564 */
00002538 286D FCEE movea.l A4, [A5 - 0x312]
0000253C 600C bra +0xE /* 0000254A */
label0000253E:
0000253E 598F subq.l A7, 4
00002540 2F14 move.l -[A7], [A4]
00002542 4EBA 0E14 jsr [PC + 0xE14 /* 00003358 */]
00002546 584F addq.w A7, 4
00002548 584C addq.w A4, 4
label0000254A:
0000254A 4A94 tst.l [A4]
0000254C 66F0 bne -0xE /* 0000253E */
0000254E 286D FCF2 movea.l A4, [A5 - 0x30E]
00002552 600C bra +0xE /* 00002560 */
label00002554:
00002554 598F subq.l A7, 4
00002556 2F14 move.l -[A7], [A4]
00002558 4EBA 0DFE jsr [PC + 0xDFE /* 00003358 */]
0000255C 584F addq.w A7, 4
0000255E 584C addq.w A4, 4
label00002560:
00002560 4A94 tst.l [A4]
00002562 66F0 bne -0xE /* 00002554 */
label00002564:
00002564 200B move.l D0, A3
00002566 6704 beq +0x6 /* 0000256C */
00002568 26AD FCEA move.l [A3], [A5 - 0x316]
label0000256C:
0000256C 4AAE 0010 tst.l [A6 + 0x10]
00002570 6708 beq +0xA /* 0000257A */
00002572 206E 0010 movea.l A0, [A6 + 0x10]
00002576 20AD FCEE move.l [A0], [A5 - 0x312]
label0000257A:
0000257A 4AAE 0014 tst.l [A6 + 0x14]
0000257E 6708 beq +0xA /* 00002588 */
00002580 206E 0014 movea.l A0, [A6 + 0x14]
00002584 20AD FCF2 move.l [A0], [A5 - 0x30E]
label00002588:
00002588 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
0000258C 2068 0004 movea.l A0, [A0 + 0x4]
00002590 4AA8 0020 tst.l [A0 + 0x20]
00002594 6754 beq +0x56 /* 000025EA */
00002596 7078 moveq.l D0, 0x78
00002598 A11E syscall NewPtr, flags=1
0000259A 2B48 FD08 move.l [A5 - 0x2F8], A0
0000259E 660A bne +0xC /* 000025AA */
000025A0 7002 moveq.l D0, 0x02
000025A2 2F00 move.l -[A7], D0
000025A4 4EBA 0082 jsr [PC + 0x82 /* 00002628 */]
000025A8 584F addq.w A7, 4
label000025AA:
000025AA 2078 0316 movea.l A0, [0x00000316 /* HpChk/MacPgm */]
000025AE 2068 0004 movea.l A0, [A0 + 0x4]
000025B2 2668 0020 movea.l A3, [A0 + 0x20]
000025B6 7E00 moveq.l D7, 0x00
000025B8 7605 moveq.l D3, 0x05
label000025BA:
000025BA 2207 move.l D1, D7
000025BC 2001 move.l D0, D1
000025BE C2FC 0018 mulu.w D1, 0x18
000025C2 4840 swap.w D0
000025C4 C0FC 0018 mulu.w D0, 0x18
000025C8 4840 swap.w D0
000025CA 4240 clr.w D0
000025CC D280 add.l D1, D0
000025CE 2C01 move.l D6, D1
000025D0 206D FD08 movea.l A0, [A5 - 0x2F8]
000025D4 43F3 6800 lea.l A1, [A3 + D6]
000025D8 45F0 6800 lea.l A2, [A0 + D6]
000025DC 7005 moveq.l D0, 0x05
label000025DE:
000025DE 24D9 move.l [A2]+, [A1]+
000025E0 51C8 FFFC dbf D0, -0x6 /* 000025DE */
000025E4 5287 addq.l D7, 1
000025E6 B687 cmp.l D3, D7
000025E8 6ED0 bgt -0x2E /* 000025BA */
label000025EA:
000025EA 4EBA FC64 jsr [PC - 0x39C /* 00002250 */]
000025EE 7000 moveq.l D0, 0x00
000025F0 2B40 FCE4 move.l [A5 - 0x31C], D0
label000025F4:
000025F4 4CEE 1CC8 FFE8 movem.l D3,D6,D7,A2,A3,A4, [A6 - 0x18]
000025FA 4E5E unlink A6
000025FC 4E75 rts
000025FE 875F or.w [A7]+, D3
00002600 5254 addq.w [A4], 1
00002602 496E 6974 chk.w D4, [A6 + 0x6974]
00002606 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002608-00002612
fn00002608:
00002608 4E56 0000 link A6, 0
0000260C 203C 00FF FFFF move.l D0, 0xFFFFFF
// end alternate branch 00002608-00002612
fn00002608: // (misaligned)
0000260A 0000 203C ori.b D0, 0x3C /* '<' */
0000260E 00FF .incomplete
00002610 FFFF .invalid <<F/7/7>>
00002612 C0AE 0008 and.l D0, [A6 + 0x8]
00002616 2F00 move.l -[A7], D0
00002618 4EBA 000E jsr [PC + 0xE /* 00002628 */]
0000261C 4E5E unlink A6
0000261E 4E75 rts
00002620 8465 or.w D2, -[A5]
00002622 7869 moveq.l D4, 0x69
00002624 7400 moveq.l D2, 0x00
00002626 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002628-0000262E
fn00002628:
00002628 4E56 0000 link A6, 0
0000262C 2F0C move.l -[A7], A4
// end alternate branch 00002628-0000262E
fn00002628: // (misaligned)
0000262A 0000 2F0C ori.b D0, 0xC
0000262E 206D FCFE movea.l A0, [A5 - 0x302]
00002632 49E8 008C lea.l A4, [A0 + 0x8C]
00002636 600A bra +0xC /* 00002642 */
label00002638:
00002638 4A94 tst.l [A4]
0000263A 6704 beq +0x6 /* 00002640 */
0000263C 2054 movea.l A0, [A4]
0000263E 4E90 jsr [A0]
label00002640:
00002640 594C subq.w A4, 4
label00002642:
00002642 206D FCFE movea.l A0, [A5 - 0x302]
00002646 B1CC cmpa.l A0, A4
00002648 65EE bcs -0x10 /* 00002638 */
0000264A 4AAD FD0C tst.l [A5 - 0x2F4]
0000264E 670A beq +0xC /* 0000265A */
00002650 206D FD0C movea.l A0, [A5 - 0x2F4]
00002654 216E 0008 000E move.l [A0 + 0xE], [A6 + 0x8]
label0000265A:
0000265A 4AAD FDF4 tst.l [A5 - 0x20C]
0000265E 660A bne +0xC /* 0000266A */
00002660 206D FCFE movea.l A0, [A5 - 0x302]
00002664 2250 movea.l A1, [A0]
00002666 4E91 jsr [A1]
00002668 600E bra +0x10 /* 00002678 */
label0000266A:
0000266A 7001 moveq.l D0, 0x01
0000266C 2F00 move.l -[A7], D0
0000266E 486D FDDC pea.l [A5 - 0x224]
00002672 4EBA FA38 jsr [PC - 0x5C8 /* 000020AC */]
00002676 504F addq.w A7, 8
label00002678:
00002678 286E FFFC movea.l A4, [A6 - 0x4]
0000267C 4E5E unlink A6
0000267E 4E75 rts
00002680 875F or.w [A7]+, D3
00002682 5254 addq.w [A4], 1
00002684 4578 6974 chk.w D2, [0x00006974]
00002688 0000 0000 ori.b D0, 0x0
export_0:
0000268C 2057 movea.l A0, [A7]
0000268E 42A7 clr.l -[A7]
00002690 486D FE14 pea.l [A5 - 0x1EC]
00002694 486D FE10 pea.l [A5 - 0x1F0]
00002698 486D FE0C pea.l [A5 - 0x1F4]
0000269C 2F08 move.l -[A7], A0
0000269E 4EBA FD70 jsr [PC - 0x290 /* 00002410 */]
000026A2 72FF moveq.l D1, 0xFFFFFFFF
000026A4 B041 cmp.w D0, D1
000026A6 672E beq +0x30 /* 000026D6 */
000026A8 588F addq.l A7, 4
000026AA 4FEF 0010 lea.l A7, [A7 + 0x10]
000026AE 486D FDDC pea.l [A5 - 0x224]
000026B2 4EBA F9EC jsr [PC - 0x614 /* 000020A0 */]
000026B6 584F addq.w A7, 4
000026B8 4A80 tst.l D0
000026BA 6624 bne +0x26 /* 000026E0 */
000026BC 2F2D FE14 move.l -[A7], [A5 - 0x1EC]
000026C0 2F2D FE10 move.l -[A7], [A5 - 0x1F0]
000026C4 2F2D FE0C move.l -[A7], [A5 - 0x1F4]
000026C8 4EBA D936 jsr [PC - 0x26CA /* 00000000 */]
000026CC 4FEF 000C lea.l A7, [A7 + 0xC]
000026D0 2F00 move.l -[A7], D0
000026D2 4EBA FF34 jsr [PC - 0xCC /* 00002608 */]
label000026D6:
000026D6 487A 000A pea.l [PC + 0xA /* 000026E2, value 0x1B446174, pstring "Data initialization failed!" */]
000026DA 303C FE15 move.w D0, 0xFE15
000026DE A9C9 syscall SysError
label000026E0:
000026E0 4E75 rts
000026E2 1B44 6174 move.b [A5 + 0x6174], D4
000026E6 6120 bsr +0x22 /* 00002708 */
000026E8 696E bvs +0x70 /* 00002758 */
000026EA 6974 bvs +0x76 /* 00002760 */
000026EC 6961 bvs +0x63 /* 0000274F */
000026EE 6C69 bge +0x6B /* 00002759 */
000026F0 7A61 moveq.l D5, 0x61
000026F2 7469 moveq.l D2, 0x69
000026F4 6F6E ble +0x70 /* 00002764 */
000026F6 2066 movea.l A0, -[A6]
000026F8 6169 bsr +0x6B /* 00002763 */
000026FA 6C65 bge +0x67 /* 00002761 */
000026FC 6421 bcc +0x23 /* 0000271F */
000026FE 0000 202F ori.b D0, 0x2F /* '/' */
export_75: // at 00002700 (misaligned)
00002702 0004 6712 ori.b D4, 0x12
00002706 2040 movea.l A0, D0
fn00002708:
00002708 4241 clr.w D1
0000270A 1210 move.b D1, [A0]
0000270C 6004 bra +0x6 /* 00002712 */
label0000270E:
0000270E 10E8 0001 move.b [A0]+, [A0 + 0x1]
label00002712:
00002712 51C9 FFFA dbf D1, -0x8 /* 0000270E */
00002716 4210 clr.b [A0]
00002718 4E75 rts
0000271A 8670 3263 or.w D3, [A0 + D3.w * 2 + 0x63]
0000271E 7374 moveq.l D1, 0x74
00002720 7200 moveq.l D1, 0x00
00002722 0000 202F ori.b D0, 0x2F /* '/' */
export_76: // at 00002724 (misaligned)
00002726 0004 671C ori.b D4, 0x1C
0000272A 2040 movea.l A0, D0
0000272C 2240 movea.l A1, D0
0000272E 343C 00FF move.w D2, 0xFF
label00002732:
00002732 1210 move.b D1, [A0]
00002734 10C0 move.b [A0]+, D0
00002736 1001 move.b D0, D1
00002738 57CA FFF8 dbeq D2, -0xA /* 00002732 */
0000273C 2208 move.l D1, A0
0000273E 2009 move.l D0, A1
00002740 9280 sub.l D1, D0
00002742 5301 subq.b D1, 1
00002744 1281 move.b [A1], D1
00002746 4E75 rts
00002748 8663 or.w D3, -[A3]
0000274A 3270 7374 movea.w A1, <<invalid full ext with I/IS == 4>>
0000274E 7200 moveq.l D1, 0x00
00002750 0000 0000 ori.b D0, 0x0
export_77:
00002754 225F movea.l A1, [A7]+
00002756 204F movea.l A0, A7
label00002758:
00002758 A019 syscall InitZone
0000275A 4FEF 000E lea.l A7, [A7 + 0xE]
0000275E 4ED1 jmp [A1]
export_78:
label00002760:
00002760 225F movea.l A1, [A7]+
00002762 205F movea.l A0, [A7]+
label00002764:
00002764 A021 syscall GetPtrSize
00002766 2E80 move.l [A7], D0
00002768 6A02 bpl +0x4 /* 0000276C */
0000276A 4297 clr.l [A7]
label0000276C:
0000276C 4ED1 jmp [A1]
0000276E 0000 225F ori.b D0, 0x5F /* '_' */
// begin alternate branch 00002770-00002772
export_79:
fn00002770:
00002770 225F movea.l A1, [A7]+
// end alternate branch 00002770-00002772
export_79: // at 00002770 (misaligned)
fn00002770: // (misaligned)
00002772 205F movea.l A0, [A7]+
00002774 A025 syscall GetHandleSize
00002776 2E80 move.l [A7], D0
00002778 6A02 bpl +0x4 /* 0000277C */
0000277A 4297 clr.l [A7]
label0000277C:
0000277C 4ED1 jmp [A1]
0000277E 0000 225F ori.b D0, 0x5F /* '_' */
// begin alternate branch 00002780-00002782
export_80:
fn00002780:
00002780 225F movea.l A1, [A7]+
// end alternate branch 00002780-00002782
export_80: // at 00002780 (misaligned)
fn00002780: // (misaligned)
00002782 121F move.b D1, [A7]+
00002784 301F move.w D0, [A7]+
00002786 4A01 tst.b D1
00002788 6704 beq +0x6 /* 0000278E */
0000278A A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
0000278C 6002 bra +0x4 /* 00002790 */
label0000278E:
0000278E A346 syscall GetOSTrapAddress, flags=3
label00002790:
00002790 2E88 move.l [A7], A0
00002792 4ED1 jmp [A1]
export_81:
00002794 225F movea.l A1, [A7]+
00002796 121F move.b D1, [A7]+
00002798 301F move.w D0, [A7]+
0000279A 205F movea.l A0, [A7]+
0000279C 4A01 tst.b D1
0000279E 6704 beq +0x6 /* 000027A4 */
000027A0 A647 syscall SetToolBoxTrapAddress/SetToolTrapAddress, flags=6
000027A2 6002 bra +0x4 /* 000027A6 */
label000027A4:
000027A4 A247 syscall SetOSTrapAddress, flags=2
label000027A6:
000027A6 4ED1 jmp [A1]
export_82:
000027A8 206F 000C movea.l A0, [A7 + 0xC]
000027AC 226F 0008 movea.l A1, [A7 + 0x8]
000027B0 7000 moveq.l D0, 0x00
000027B2 1018 move.b D0, [A0]+
000027B4 4840 swap.w D0
000027B6 1019 move.b D0, [A1]+
000027B8 4A2F 0004 tst.b [A7 + 0x4]
000027BC 670E beq +0x10 /* 000027CC */
000027BE 4A2F 0006 tst.b [A7 + 0x6]
000027C2 6704 beq +0x6 /* 000027C8 */
000027C4 A43C syscall CmpString, flags=4
000027C6 6010 bra +0x12 /* 000027D8 */
label000027C8:
000027C8 A03C syscall CmpString
000027CA 600C bra +0xE /* 000027D8 */
label000027CC:
000027CC 4A2F 0006 tst.b [A7 + 0x6]
000027D0 6704 beq +0x6 /* 000027D6 */
000027D2 A63C syscall CmpString, flags=6
000027D4 6002 bra +0x4 /* 000027D8 */
label000027D6:
000027D6 A23C syscall CmpString, flags=2
label000027D8:
000027D8 0A00 0001 xori.b D0, 0x1
000027DC 1F40 0010 move.b [A7 + 0x10], D0
000027E0 205F movea.l A0, [A7]+
000027E2 4FEF 000C lea.l A7, [A7 + 0xC]
000027E6 4ED0 jmp [A0]
export_83:
000027E8 225F movea.l A1, [A7]+
000027EA 121F move.b D1, [A7]+
000027EC 205F movea.l A0, [A7]+
000027EE 7000 moveq.l D0, 0x00
000027F0 1018 move.b D0, [A0]+
000027F2 2F09 move.l -[A7], A1
000027F4 4A01 tst.b D1
000027F6 6704 beq +0x6 /* 000027FC */
000027F8 A054 syscall UprString/UprText
000027FA 6002 bra +0x4 /* 000027FE */
label000027FC:
000027FC A254 syscall UprString/UprText, flags=2
label000027FE:
000027FE 4E75 rts
export_84:
00002800 205F movea.l A0, [A7]+
00002802 101F move.b D0, [A7]+
00002804 6708 beq +0xA /* 0000280E */
00002806 08F8 0006 0938 bset.b [0x00000938 /* HiliteMode */], 0x6
0000280C 6006 bra +0x8 /* 00002814 */
label0000280E:
0000280E 08B8 0006 0938 bclr.b [0x00000938 /* HiliteMode */], 0x6
label00002814:
00002814 57C0 seq D0
00002816 5200 addq.b D0, 1
00002818 1E80 move.b [A7], D0
0000281A 4ED0 jmp [A0]
export_85:
0000281C 225F movea.l A1, [A7]+
0000281E 101F move.b D0, [A7]+
00002820 205F movea.l A0, [A7]+
00002822 6604 bne +0x6 /* 00002828 */
00002824 A001 syscall Close
00002826 6002 bra +0x4 /* 0000282A */
label00002828:
00002828 A401 syscall Close, flags=4
label0000282A:
0000282A 3E80 move.w [A7], D0
0000282C 4ED1 jmp [A1]
0000282E 0000 225F ori.b D0, 0x5F /* '_' */
export_86: // at 00002830 (misaligned)
00002832 101F move.b D0, [A7]+
00002834 205F movea.l A0, [A7]+
00002836 6604 bne +0x6 /* 0000283C */
00002838 A012 syscall SetEOF
0000283A 6002 bra +0x4 /* 0000283E */
label0000283C:
0000283C A412 syscall SetEOF, flags=4
label0000283E:
0000283E 3E80 move.w [A7], D0
00002840 4ED1 jmp [A1]
00002842 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_87: // at 00002844 (misaligned)
00002846 FFCE .invalid <<F/7/7>>
00002848 204F movea.l A0, A7
0000284A 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
00002850 A001 syscall Close
00002852 3D40 000A move.w [A6 + 0xA], D0
00002856 4E5E unlink A6
00002858 205F movea.l A0, [A7]+
0000285A 548F addq.l A7, 2
0000285C 4ED0 jmp [A0]
0000285E 0000 51C1 ori.b D0, 0xC1
export_88: // at 00002860 (misaligned)
00002862 6002 bra +0x4 /* 00002866 */
export_89:
00002864 50C1 st D1
label00002866:
00002866 4E56 FFCE link A6, -0x0032
0000286A 204F movea.l A0, A7
0000286C 216E 0008 0020 move.l [A0 + 0x20], [A6 + 0x8]
00002872 316E 0010 0018 move.w [A0 + 0x18], [A6 + 0x10]
00002878 226E 000C movea.l A1, [A6 + 0xC]
0000287C 2151 0024 move.l [A0 + 0x24], [A1]
00002880 4268 002C clr.w [A0 + 0x2C]
00002884 42A8 002E clr.l [A0 + 0x2E]
00002888 4A01 tst.b D1
0000288A 6604 bne +0x6 /* 00002890 */
0000288C A002 syscall Read
0000288E 6002 bra +0x4 /* 00002892 */
label00002890:
00002890 A003 syscall Write
label00002892:
00002892 3D40 0012 move.w [A6 + 0x12], D0
00002896 226E 000C movea.l A1, [A6 + 0xC]
0000289A 22A8 0028 move.l [A1], [A0 + 0x28]
0000289E 4E5E unlink A6
000028A0 225F movea.l A1, [A7]+
000028A2 4FEF 000A lea.l A7, [A7 + 0xA]
000028A6 4ED1 jmp [A1]
export_90:
000028A8 4E56 FFC0 link A6, -0x0040
000028AC 204F movea.l A0, A7
000028AE 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
000028B4 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
000028BA A013 syscall FlushVol
000028BC 3D40 000E move.w [A6 + 0xE], D0
000028C0 4E5E unlink A6
000028C2 225F movea.l A1, [A7]+
000028C4 5C8F addq.l A7, 6
000028C6 4ED1 jmp [A1]
export_91:
000028C8 4E56 FFCE link A6, -0x0032
000028CC 204F movea.l A0, A7
000028CE 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
000028D4 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
000028DA 4228 001A clr.b [A0 + 0x1A]
000028DE A009 syscall Delete/PBHDelete/HDelete
000028E0 3D40 000E move.w [A6 + 0xE], D0
000028E4 4E5E unlink A6
000028E6 225F movea.l A1, [A7]+
000028E8 5C8F addq.l A7, 6
000028EA 4ED1 jmp [A1]
export_92:
000028EC 4E56 FFCE link A6, -0x0032
000028F0 204F movea.l A0, A7
000028F2 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
000028F8 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
000028FE 4228 001A clr.b [A0 + 0x1A]
00002902 216E 0008 001C move.l [A0 + 0x1C], [A6 + 0x8]
00002908 A00B syscall Rename/PBHRename/HRename
0000290A 3D40 0012 move.w [A6 + 0x12], D0
0000290E 4E5E unlink A6
00002910 225F movea.l A1, [A7]+
00002912 4FEF 000A lea.l A7, [A7 + 0xA]
00002916 4ED1 jmp [A1]
export_93:
00002918 4E56 FFCE link A6, -0x0032
0000291C 204F movea.l A0, A7
0000291E 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
00002924 A011 syscall GetEOF
00002926 3D40 000E move.w [A6 + 0xE], D0
0000292A 226E 0008 movea.l A1, [A6 + 0x8]
0000292E 22A8 001C move.l [A1], [A0 + 0x1C]
00002932 4E5E unlink A6
00002934 225F movea.l A1, [A7]+
00002936 5C8F addq.l A7, 6
00002938 4ED1 jmp [A1]
0000293A 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_94: // at 0000293C (misaligned)
0000293E FFCE .invalid <<F/7/7>>
00002940 204F movea.l A0, A7
00002942 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
00002948 216E 0008 001C move.l [A0 + 0x1C], [A6 + 0x8]
0000294E A012 syscall SetEOF
00002950 3D40 000E move.w [A6 + 0xE], D0
00002954 4E5E unlink A6
00002956 225F movea.l A1, [A7]+
00002958 5C8F addq.l A7, 6
0000295A 4ED1 jmp [A1]
export_95:
0000295C 4E56 FFCE link A6, -0x0032
00002960 204F movea.l A0, A7
00002962 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
00002968 A018 syscall GetFPos
0000296A 3D40 000E move.w [A6 + 0xE], D0
0000296E 226E 0008 movea.l A1, [A6 + 0x8]
00002972 22A8 002E move.l [A1], [A0 + 0x2E]
00002976 4E5E unlink A6
00002978 225F movea.l A1, [A7]+
0000297A 5C8F addq.l A7, 6
0000297C 4ED1 jmp [A1]
0000297E 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_96: // at 00002980 (misaligned)
00002982 FFCE .invalid <<F/7/7>>
00002984 204F movea.l A0, A7
00002986 316E 000E 0018 move.w [A0 + 0x18], [A6 + 0xE]
0000298C 316E 000C 002C move.w [A0 + 0x2C], [A6 + 0xC]
00002992 216E 0008 002E move.l [A0 + 0x2E], [A6 + 0x8]
00002998 A044 syscall SetFPos
0000299A 3D40 0010 move.w [A6 + 0x10], D0
0000299E 4E5E unlink A6
000029A0 225F movea.l A1, [A7]+
000029A2 508F addq.l A7, 8
000029A4 4ED1 jmp [A1]
000029A6 0000 225F ori.b D0, 0x5F /* '_' */
// begin alternate branch 000029A8-000029AA
fn000029A8:
000029A8 225F movea.l A1, [A7]+
// end alternate branch 000029A8-000029AA
fn000029A8: // (misaligned)
000029AA 101F move.b D0, [A7]+
000029AC 205F movea.l A0, [A7]+
000029AE 6604 bne +0x6 /* 000029B4 */
000029B0 A214 syscall GetVol/PBHGetVol/HGetVol, flags=2
000029B2 6002 bra +0x4 /* 000029B6 */
label000029B4:
000029B4 A614 syscall GetVol/PBHGetVol/HGetVol, flags=6
label000029B6:
000029B6 3E80 move.w [A7], D0
000029B8 4ED1 jmp [A1]
000029BA 0000 225F ori.b D0, 0x5F /* '_' */
export_97: // at 000029BC (misaligned)
000029BE 101F move.b D0, [A7]+
000029C0 205F movea.l A0, [A7]+
000029C2 6606 bne +0x8 /* 000029CA */
000029C4 7008 moveq.l D0, 0x08
000029C6 A260 syscall FSDispatch/HFSDispatch, flags=2
000029C8 6004 bra +0x6 /* 000029CE */
label000029CA:
000029CA 7008 moveq.l D0, 0x08
000029CC A660 syscall FSDispatch/HFSDispatch, flags=6
label000029CE:
000029CE 3E80 move.w [A7], D0
000029D0 4ED1 jmp [A1]
000029D2 0000 225F ori.b D0, 0x5F /* '_' */
export_98: // at 000029D4 (misaligned)
000029D6 101F move.b D0, [A7]+
000029D8 205F movea.l A0, [A7]+
000029DA 6606 bne +0x8 /* 000029E2 */
000029DC 7009 moveq.l D0, 0x09
000029DE A260 syscall FSDispatch/HFSDispatch, flags=2
000029E0 6004 bra +0x6 /* 000029E6 */
label000029E2:
000029E2 7009 moveq.l D0, 0x09
000029E4 A660 syscall FSDispatch/HFSDispatch, flags=6
label000029E6:
000029E6 3E80 move.w [A7], D0
000029E8 4ED1 jmp [A1]
000029EA 0000 225F ori.b D0, 0x5F /* '_' */
export_99: // at 000029EC (misaligned)
000029EE 101F move.b D0, [A7]+
000029F0 205F movea.l A0, [A7]+
000029F2 6604 bne +0x6 /* 000029F8 */
000029F4 A200 syscall OpenSlot, flags=2
000029F6 6002 bra +0x4 /* 000029FA */
label000029F8:
000029F8 A600 syscall Open/PBHOpen/HOpen, flags=6
label000029FA:
000029FA 3E80 move.w [A7], D0
000029FC 4ED1 jmp [A1]
000029FE 0000 225F ori.b D0, 0x5F /* '_' */
export_100: // at 00002A00 (misaligned)
00002A02 101F move.b D0, [A7]+
00002A04 205F movea.l A0, [A7]+
00002A06 6604 bne +0x6 /* 00002A0C */
00002A08 A20A syscall OpenRF/PBHOpenRF/HOpenRF, flags=2
00002A0A 6002 bra +0x4 /* 00002A0E */
label00002A0C:
00002A0C A60A syscall OpenRF/PBHOpenRF/HOpenRF, flags=6
label00002A0E:
00002A0E 3E80 move.w [A7], D0
00002A10 4ED1 jmp [A1]
00002A12 0000 225F ori.b D0, 0x5F /* '_' */
export_101: // at 00002A14 (misaligned)
00002A16 101F move.b D0, [A7]+
00002A18 205F movea.l A0, [A7]+
00002A1A 6604 bne +0x6 /* 00002A20 */
00002A1C A208 syscall Create/PBHCreate/HCreate, flags=2
00002A1E 6002 bra +0x4 /* 00002A22 */
label00002A20:
00002A20 A608 syscall Create/PBHCreate/HCreate, flags=6
label00002A22:
00002A22 3E80 move.w [A7], D0
00002A24 4ED1 jmp [A1]
00002A26 0000 225F ori.b D0, 0x5F /* '_' */
// begin alternate branch 00002A28-00002A2A
fn00002A28:
00002A28 225F movea.l A1, [A7]+
// end alternate branch 00002A28-00002A2A
fn00002A28: // (misaligned)
00002A2A 101F move.b D0, [A7]+
00002A2C 205F movea.l A0, [A7]+
00002A2E 6604 bne +0x6 /* 00002A34 */
00002A30 A209 syscall Delete/PBHDelete/HDelete, flags=2
00002A32 6002 bra +0x4 /* 00002A36 */
label00002A34:
00002A34 A609 syscall Delete/PBHDelete/HDelete, flags=6
label00002A36:
00002A36 3E80 move.w [A7], D0
00002A38 4ED1 jmp [A1]
00002A3A 0000 225F ori.b D0, 0x5F /* '_' */
// begin alternate branch 00002A3C-00002A3E
fn00002A3C:
00002A3C 225F movea.l A1, [A7]+
// end alternate branch 00002A3C-00002A3E
fn00002A3C: // (misaligned)
00002A3E 101F move.b D0, [A7]+
00002A40 205F movea.l A0, [A7]+
00002A42 6604 bne +0x6 /* 00002A48 */
00002A44 A20B syscall Rename/PBHRename/HRename, flags=2
00002A46 6002 bra +0x4 /* 00002A4A */
label00002A48:
00002A48 A60B syscall Rename/PBHRename/HRename, flags=6
label00002A4A:
00002A4A 3E80 move.w [A7], D0
00002A4C 4ED1 jmp [A1]
00002A4E 0000 225F ori.b D0, 0x5F /* '_' */
// begin alternate branch 00002A50-00002A52
export_102:
fn00002A50:
00002A50 225F movea.l A1, [A7]+
// end alternate branch 00002A50-00002A52
export_102: // at 00002A50 (misaligned)
fn00002A50: // (misaligned)
00002A52 101F move.b D0, [A7]+
00002A54 205F movea.l A0, [A7]+
00002A56 6604 bne +0x6 /* 00002A5C */
00002A58 A20C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
00002A5A 6002 bra +0x4 /* 00002A5E */
label00002A5C:
00002A5C A60C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=6
label00002A5E:
00002A5E 3E80 move.w [A7], D0
00002A60 4ED1 jmp [A1]
00002A62 0000 225F ori.b D0, 0x5F /* '_' */
// begin alternate branch 00002A64-00002A66
fn00002A64:
00002A64 225F movea.l A1, [A7]+
// end alternate branch 00002A64-00002A66
fn00002A64: // (misaligned)
00002A66 101F move.b D0, [A7]+
00002A68 205F movea.l A0, [A7]+
00002A6A 6604 bne +0x6 /* 00002A70 */
00002A6C A20D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=2
00002A6E 6002 bra +0x4 /* 00002A72 */
label00002A70:
00002A70 A60D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=6
label00002A72:
00002A72 3E80 move.w [A7], D0
00002A74 4ED1 jmp [A1]
00002A76 0000 A162 ori.b D0, 0x62 /* 'b' */
// begin alternate branch 00002A78-00002A7A
export_103:
fn00002A78:
00002A78 A162 syscall PurgeSpace, flags=1
// end alternate branch 00002A78-00002A7A
export_103: // at 00002A78 (misaligned)
fn00002A78: // (misaligned)
00002A7A 226F 0004 movea.l A1, [A7 + 0x4]
00002A7E 2288 move.l [A1], A0
00002A80 226F 0008 movea.l A1, [A7 + 0x8]
00002A84 2280 move.l [A1], D0
00002A86 225F movea.l A1, [A7]+
00002A88 504F addq.w A7, 8
00002A8A 4ED1 jmp [A1]
export_104:
00002A8C 4E56 0000 link A6, 0
00002A90 206E 0010 movea.l A0, [A6 + 0x10]
00002A94 226E 000C movea.l A1, [A6 + 0xC]
00002A98 7000 moveq.l D0, 0x00
00002A9A 1018 move.b D0, [A0]+
00002A9C 4840 swap.w D0
00002A9E 1019 move.b D0, [A1]+
00002AA0 4A2E 0008 tst.b [A6 + 0x8]
00002AA4 670E beq +0x10 /* 00002AB4 */
00002AA6 4A2E 000A tst.b [A6 + 0xA]
00002AAA 6704 beq +0x6 /* 00002AB0 */
00002AAC A450 syscall RelString/CompareString, flags=4
00002AAE 6010 bra +0x12 /* 00002AC0 */
label00002AB0:
00002AB0 A050 syscall RelString/CompareString
00002AB2 600C bra +0xE /* 00002AC0 */
label00002AB4:
00002AB4 4A2E 000A tst.b [A6 + 0xA]
00002AB8 6704 beq +0x6 /* 00002ABE */
00002ABA A650 syscall RelString/CompareString, flags=6
00002ABC 6002 bra +0x4 /* 00002AC0 */
label00002ABE:
00002ABE A250 syscall RelString/CompareString, flags=2
label00002AC0:
00002AC0 3D40 0014 move.w [A6 + 0x14], D0
00002AC4 4E5E unlink A6
00002AC6 205F movea.l A0, [A7]+
00002AC8 4FEF 000C lea.l A7, [A7 + 0xC]
00002ACC 4ED0 jmp [A0]
00002ACE 0000 225F ori.b D0, 0x5F /* '_' */
export_105: // at 00002AD0 (misaligned)
00002AD2 7001 moveq.l D0, 0x01
00002AD4 A198 syscall HWPriv, flags=1
00002AD6 4ED1 jmp [A1]
export_106:
00002AD8 225F movea.l A1, [A7]+
00002ADA 7003 moveq.l D0, 0x03
00002ADC A198 syscall HWPriv, flags=1
00002ADE 4ED1 jmp [A1]
export_107:
00002AE0 4E56 FFCC link A6, -0x0034
00002AE4 2F07 move.l -[A7], D7
00002AE6 2D6E 0010 FFDE move.l [A6 - 0x22], [A6 + 0x10]
00002AEC 558F subq.l A7, 2
00002AEE 486E FFCC pea.l [A6 - 0x34]
00002AF2 7000 moveq.l D0, 0x00
00002AF4 1F00 move.b -[A7], D0
00002AF6 4EBA FEB0 jsr [PC - 0x150 /* 000029A8 */]
00002AFA 3E1F move.w D7, [A7]+
00002AFC 206E 000C movea.l A0, [A6 + 0xC]
00002B00 30AE FFE2 move.w [A0], [A6 - 0x1E]
00002B04 206E 0008 movea.l A0, [A6 + 0x8]
00002B08 20AE FFFC move.l [A0], [A6 - 0x4]
00002B0C 3D47 0014 move.w [A6 + 0x14], D7
00002B10 2E2E FFC8 move.l D7, [A6 - 0x38]
00002B14 4E5E unlink A6
00002B16 205F movea.l A0, [A7]+
00002B18 4FEF 000C lea.l A7, [A7 + 0xC]
00002B1C 4ED0 jmp [A0]
00002B1E 8748 4745 pack -[A3], -[A0], 0x4745
00002B22 5456 addq.w [A6], 2
00002B24 4F4C chk.w D7, A4
00002B26 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_108: // at 00002B28 (misaligned)
00002B2A FF86 .invalid <<F/6/7>>
00002B2C 3D6E 0010 FF9C move.w [A6 - 0x64], [A6 + 0x10]
00002B32 2D6E 000C FFB6 move.l [A6 - 0x4A], [A6 + 0xC]
00002B38 2D6E 0008 FF98 move.l [A6 - 0x68], [A6 + 0x8]
00002B3E 422E FFA0 clr.b [A6 - 0x60]
00002B42 558F subq.l A7, 2
00002B44 486E FF86 pea.l [A6 - 0x7A]
00002B48 7000 moveq.l D0, 0x00
00002B4A 1F00 move.b -[A7], D0
00002B4C 4EBA FEDA jsr [PC - 0x126 /* 00002A28 */]
00002B50 3D5F 0012 move.w [A6 + 0x12], [A7]+
00002B54 4E5E unlink A6
00002B56 205F movea.l A0, [A7]+
00002B58 4FEF 000A lea.l A7, [A7 + 0xA]
00002B5C 4ED0 jmp [A0]
00002B5E 8748 4445 pack -[A3], -[A0], 0x4445
00002B62 4C45 5445 movem.l D0,D2,D6,A2,A4,A6, D5
00002B66 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_109: // at 00002B68 (misaligned)
00002B6A FF86 .invalid <<F/6/7>>
00002B6C 2F07 move.l -[A7], D7
00002B6E 3D6E 0014 FF9C move.w [A6 - 0x64], [A6 + 0x14]
00002B74 2D6E 0010 FFB6 move.l [A6 - 0x4A], [A6 + 0x10]
00002B7A 2D6E 000C FF98 move.l [A6 - 0x68], [A6 + 0xC]
00002B80 422E FFA0 clr.b [A6 - 0x60]
00002B84 426E FFA2 clr.w [A6 - 0x5E]
00002B88 558F subq.l A7, 2
00002B8A 486E FF86 pea.l [A6 - 0x7A]
00002B8E 7000 moveq.l D0, 0x00
00002B90 1F00 move.b -[A7], D0
00002B92 4EBA FEBC jsr [PC - 0x144 /* 00002A50 */]
00002B96 3E1F move.w D7, [A7]+
00002B98 206E 0008 movea.l A0, [A6 + 0x8]
00002B9C 43EE FFA6 lea.l A1, [A6 - 0x5A]
00002BA0 20D9 move.l [A0]+, [A1]+
00002BA2 20D9 move.l [A0]+, [A1]+
00002BA4 20D9 move.l [A0]+, [A1]+
00002BA6 20D9 move.l [A0]+, [A1]+
00002BA8 3D47 0016 move.w [A6 + 0x16], D7
00002BAC 2E2E FF82 move.l D7, [A6 - 0x7E]
00002BB0 4E5E unlink A6
00002BB2 205F movea.l A0, [A7]+
00002BB4 4FEF 000E lea.l A7, [A7 + 0xE]
00002BB8 4ED0 jmp [A0]
00002BBA 8948 4745 pack -[A4], -[A0], 0x4745
00002BBE 5446 addq.w D6, 2
00002BC0 494E chk.w D4, A6
00002BC2 464F not.w A7
00002BC4 0000 0000 ori.b D0, 0x0
export_110:
00002BC8 4E56 FF86 link A6, -0x007A
00002BCC 48E7 0300 movem.l -[A7], D6,D7
00002BD0 2C2E 0010 move.l D6, [A6 + 0x10]
00002BD4 3D6E 0014 FF9C move.w [A6 - 0x64], [A6 + 0x14]
00002BDA 2D46 FFB6 move.l [A6 - 0x4A], D6
00002BDE 2D6E 000C FF98 move.l [A6 - 0x68], [A6 + 0xC]
00002BE4 422E FFA0 clr.b [A6 - 0x60]
00002BE8 426E FFA2 clr.w [A6 - 0x5E]
00002BEC 558F subq.l A7, 2
00002BEE 486E FF86 pea.l [A6 - 0x7A]
00002BF2 7000 moveq.l D0, 0x00
00002BF4 1F00 move.b -[A7], D0
00002BF6 4EBA FE58 jsr [PC - 0x1A8 /* 00002A50 */]
00002BFA 3E1F move.w D7, [A7]+
00002BFC 6624 bne +0x26 /* 00002C22 */
00002BFE 206E 0008 movea.l A0, [A6 + 0x8]
00002C02 43EE FFA6 lea.l A1, [A6 - 0x5A]
00002C06 22D8 move.l [A1]+, [A0]+
00002C08 22D8 move.l [A1]+, [A0]+
00002C0A 22D8 move.l [A1]+, [A0]+
00002C0C 22D8 move.l [A1]+, [A0]+
00002C0E 2D46 FFB6 move.l [A6 - 0x4A], D6
00002C12 558F subq.l A7, 2
00002C14 486E FF86 pea.l [A6 - 0x7A]
00002C18 7000 moveq.l D0, 0x00
00002C1A 1F00 move.b -[A7], D0
00002C1C 4EBA FE46 jsr [PC - 0x1BA /* 00002A64 */]
00002C20 3E1F move.w D7, [A7]+
label00002C22:
00002C22 3D47 0016 move.w [A6 + 0x16], D7
00002C26 4CEE 00C0 FF7E movem.l D6,D7, [A6 - 0x82]
00002C2C 4E5E unlink A6
00002C2E 205F movea.l A0, [A7]+
00002C30 4FEF 000E lea.l A7, [A7 + 0xE]
00002C34 4ED0 jmp [A0]
00002C36 8948 5345 pack -[A4], -[A0], 0x5345
00002C3A 5446 addq.w D6, 2
00002C3C 494E chk.w D4, A6
00002C3E 464F not.w A7
00002C40 0000 0000 ori.b D0, 0x0
export_111:
00002C44 4E56 FF86 link A6, -0x007A
00002C48 3D6E 0014 FF9C move.w [A6 - 0x64], [A6 + 0x14]
00002C4E 2D6E 0010 FFB6 move.l [A6 - 0x4A], [A6 + 0x10]
00002C54 2D6E 000C FF98 move.l [A6 - 0x68], [A6 + 0xC]
00002C5A 422E FFA0 clr.b [A6 - 0x60]
00002C5E 2D6E 0008 FFA2 move.l [A6 - 0x5E], [A6 + 0x8]
00002C64 558F subq.l A7, 2
00002C66 486E FF86 pea.l [A6 - 0x7A]
00002C6A 7000 moveq.l D0, 0x00
00002C6C 1F00 move.b -[A7], D0
00002C6E 4EBA FDCC jsr [PC - 0x234 /* 00002A3C */]
00002C72 3D5F 0016 move.w [A6 + 0x16], [A7]+
00002C76 4E5E unlink A6
00002C78 205F movea.l A0, [A7]+
00002C7A 4FEF 000E lea.l A7, [A7 + 0xE]
00002C7E 4ED0 jmp [A0]
00002C80 8748 5245 pack -[A3], -[A0], 0x5245
00002C84 4E41 trap 1
00002C86 4D45 chk.w D6, D5
00002C88 0000 0000 ori.b D0, 0x0
export_112:
00002C8C 206F 0004 movea.l A0, [A7 + 0x4]
00002C90 2050 movea.l A0, [A0]
00002C92 A9E1 syscall HandToHand
00002C94 226F 0004 movea.l A1, [A7 + 0x4]
00002C98 2288 move.l [A1], A0
00002C9A 3F40 0008 move.w [A7 + 0x8], D0
00002C9E 2E9F move.l [A7], [A7]+
00002CA0 4E75 rts
00002CA2 0000 206F ori.b D0, 0x6F /* 'o' */
export_113: // at 00002CA4 (misaligned)
00002CA6 000C 202F ori.b A4, 0x2F /* '/' */
00002CAA 0004 A9E3 ori.b D4, 0xE3
00002CAE 3F40 0010 move.w [A7 + 0x10], D0
00002CB2 226F 0008 movea.l A1, [A7 + 0x8]
00002CB6 2288 move.l [A1], A0
00002CB8 205F movea.l A0, [A7]+
00002CBA 4FEF 000C lea.l A7, [A7 + 0xC]
00002CBE 4ED0 jmp [A0]
export_114:
00002CC0 201F move.l D0, [A7]+
00002CC2 225F movea.l A1, [A7]+
00002CC4 2B5F 0014 move.l [A5 + 0x14], [A7]+
00002CC8 2251 movea.l A1, [A1]
00002CCA 41FA 000A lea.l A0, [PC + 0xA /* 00002CD6, value 0x4227206D 'B\' m', cstring "B\' m" */]
00002CCE 2348 002A move.l [A1 + 0x2A], A0
00002CD2 2040 movea.l A0, D0
00002CD4 4ED0 jmp [A0]
00002CD6 4227 clr.b -[A7]
00002CD8 206D 0014 movea.l A0, [A5 + 0x14]
00002CDC 4E90 jsr [A0]
00002CDE 101F move.b D0, [A7]+
00002CE0 4E75 rts
00002CE2 0000 201F ori.b D0, 0x1F
export_115: // at 00002CE4 (misaligned)
00002CE6 225F movea.l A1, [A7]+
00002CE8 2B5F 0018 move.l [A5 + 0x18], [A7]+
00002CEC 2251 movea.l A1, [A1]
00002CEE 41FA 000A lea.l A0, [PC + 0xA /* 00002CFA, value 0x42272F08 */]
00002CF2 2348 0026 move.l [A1 + 0x26], A0
00002CF6 2040 movea.l A0, D0
00002CF8 4ED0 jmp [A0]
00002CFA 4227 clr.b -[A7]
00002CFC 2F08 move.l -[A7], A0
00002CFE 3F00 move.w -[A7], D0
00002D00 206D 0018 movea.l A0, [A5 + 0x18]
00002D04 4E90 jsr [A0]
00002D06 4A1F tst.b [A7]+
00002D08 4E75 rts
00002D0A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002D0C-00002D12
export_116:
fn00002D0C:
00002D0C 4E56 0000 link A6, 0
00002D10 594F subq.w A7, 4
// end alternate branch 00002D0C-00002D12
export_116: // at 00002D0C (misaligned)
fn00002D0C: // (misaligned)
00002D0E 0000 594F ori.b D0, 0x4F /* 'O' */
00002D12 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
00002D18 3F2E 000A move.w -[A7], [A6 + 0xA]
00002D1C A9A0 syscall GetResource
00002D1E 226E 000C movea.l A1, [A6 + 0xC]
00002D22 4211 clr.b [A1]
00002D24 201F move.l D0, [A7]+
00002D26 6722 beq +0x24 /* 00002D4A */
00002D28 2040 movea.l A0, D0
00002D2A 2050 movea.l A0, [A0]
00002D2C 3018 move.w D0, [A0]+
00002D2E 322E 0008 move.w D1, [A6 + 0x8]
00002D32 6716 beq +0x18 /* 00002D4A */
00002D34 B240 cmp.w D1, D0
00002D36 6212 bhi +0x14 /* 00002D4A */
00002D38 7000 moveq.l D0, 0x00
label00002D3A:
00002D3A 5341 subq.w D1, 1
00002D3C 6706 beq +0x8 /* 00002D44 */
00002D3E 1018 move.b D0, [A0]+
00002D40 D1C0 add.l A0, D0
00002D42 60F6 bra -0x8 /* 00002D3A */
label00002D44:
00002D44 1010 move.b D0, [A0]
00002D46 5240 addq.w D0, 1
00002D48 A02E syscall BlockMove/BlockMoveData
label00002D4A:
00002D4A 4E5E unlink A6
00002D4C 205F movea.l A0, [A7]+
00002D4E 508F addq.l A7, 8
00002D50 4ED0 jmp [A0]
00002D52 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_117: // at 00002D54 (misaligned)
00002D56 0000 203C ori.b D0, 0x3C /* '<' */
00002D5A 0000 A89F ori.b D0, 0x9F
00002D5E A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00002D60 2F08 move.l -[A7], A0
00002D62 203C 0000 A0AD move.l D0, 0xA0AD
00002D68 A346 syscall GetOSTrapAddress, flags=3
00002D6A B1DF cmpa.l A0, [A7]+
00002D6C 670E beq +0x10 /* 00002D7C */
00002D6E 202E 000C move.l D0, [A6 + 0xC]
00002D72 A1AD syscall Gestalt, flags=1
00002D74 226E 0008 movea.l A1, [A6 + 0x8]
00002D78 2288 move.l [A1], A0
00002D7A 6026 bra +0x28 /* 00002DA2 */
label00002D7C:
00002D7C 41FA 0036 lea.l A0, [PC + 0x36 /* 00002DB4, value 0x76657273 'vers', cstring "vers" */]
00002D80 303C EA51 move.w D0, 0xEA51
00002D84 222E 000C move.l D1, [A6 + 0xC]
label00002D88:
00002D88 B298 cmp.l D1, [A0]+
00002D8A 6706 beq +0x8 /* 00002D92 */
00002D8C 4A98 tst.l [A0]+
00002D8E 6712 beq +0x14 /* 00002DA2 */
00002D90 60F6 bra -0x8 /* 00002D88 */
label00002D92:
00002D92 43FA 0020 lea.l A1, [PC + 0x20 /* 00002DB4, value 0x76657273 'vers', cstring "vers" */]
00002D96 D3D0 add.l A1, [A0]
00002D98 4ED1 jmp [A1]
label00002D9A:
00002D9A 226E 0008 movea.l A1, [A6 + 0x8]
00002D9E 2280 move.l [A1], D0
00002DA0 4240 clr.w D0
label00002DA2:
00002DA2 3D40 0010 move.w [A6 + 0x10], D0
00002DA6 4E5E unlink A6
00002DA8 205F movea.l A0, [A7]+
00002DAA 508F addq.l A7, 8
00002DAC 4ED0 jmp [A0]
label00002DAE:
00002DAE 303C EA52 move.w D0, 0xEA52
00002DB2 60EE bra -0x10 /* 00002DA2 */
00002DB4 7665 moveq.l D3, 0x65
00002DB6 7273 moveq.l D1, 0x73
00002DB8 0000 0060 ori.b D0, 0x60 /* '`' */
00002DBC 6D61 blt +0x63 /* 00002E1F */
00002DBE 6368 bls +0x6A /* 00002E28 */
00002DC0 0000 0064 ori.b D0, 0x64 /* 'd' */
00002DC4 7379 moveq.l D1, 0x79
00002DC6 7376 moveq.l D1, 0x76
00002DC8 0000 0088 ori.b D0, 0x88
00002DCC 7072 moveq.l D0, 0x72
00002DCE 6F63 ble +0x65 /* 00002E33 */
00002DD0 0000 0092 ori.b D0, 0x92
00002DD4 6670 bne +0x72 /* 00002E46 */
00002DD6 7520 moveq.l D2, 0x20
00002DD8 0000 009E ori.b D0, 0x9E
00002DDC 7164 moveq.l D0, 0x64
00002DDE 2020 move.l D0, -[A0]
00002DE0 0000 00E8 ori.b D0, 0xE8
00002DE4 6B62 bmi +0x64 /* 00002E48 */
00002DE6 6420 bcc +0x22 /* 00002E08 */
00002DE8 0000 011A ori.b D0, 0x1A
00002DEC 6174 bsr +0x76 /* 00002E62 */
00002DEE 6C6B bge +0x6D /* 00002E5B */
00002DF0 0000 0142 ori.b D0, 0x42 /* 'B' */
00002DF4 6D6D blt +0x6F /* 00002E63 */
00002DF6 7520 moveq.l D2, 0x20
00002DF8 0000 0164 ori.b D0, 0x64 /* 'd' */
00002DFC 7261 moveq.l D1, 0x61
00002DFE 6D20 blt +0x22 /* 00002E20 */
00002E00 0000 0188 ori.b D0, 0x88
00002E04 6C72 bge +0x74 /* 00002E78 */
00002E06 616D bsr +0x6F /* 00002E75 */
label00002E08:
00002E08 0000 0188 ori.b D0, 0x88
00002E0C 0000 0000 ori.b D0, 0x0
00002E10 0000 0000 ori.b D0, 0x0
00002E14 7001 moveq.l D0, 0x01
00002E16 6082 bra -0x7C /* 00002D9A */
00002E18 2278 02AE movea.l A1, [0x000002AE /* ROMBase */]
00002E1C 7004 moveq.l D0, 0x04
00002E1E 0C69 0075 0008 cmpi.w [A1 + 0x8], 0x75 /* 'u' */
// begin alternate branch 00002E20-00002E2E
label00002E20:
00002E20 0075 0008 6712 0C69 ori.w [[A5 + D6 * 8] + 0xC69], 0x8
label00002E28:
00002E28 0276 0008 6604 andi.w [A6 + D6.w * 8 + 0x4], 0x8
// end alternate branch 00002E20-00002E2E
label00002E20: // (misaligned)
00002E24 6712 beq +0x14 /* 00002E38 */
00002E26 0C69 0276 0008 cmpi.w [A1 + 0x8], 0x276
label00002E28: // (misaligned)
00002E2C 6604 bne +0x6 /* 00002E32 */
00002E2E 5240 addq.w D0, 1
00002E30 6006 bra +0x8 /* 00002E38 */
label00002E32:
00002E32 1038 0CB3 move.b D0, [0x00000CB3 /* MMUFluff/MachineType */]
00002E36 5C80 addq.l D0, 6
label00002E38:
00002E38 6000 FF60 bra -0x9E /* 00002D9A */
00002E3C 7000 moveq.l D0, 0x00
00002E3E 3038 015A move.w D0, [0x0000015A /* SysVersion */]
00002E42 6000 FF56 bra -0xA8 /* 00002D9A */
label00002E46:
00002E46 7000 moveq.l D0, 0x00
label00002E48:
00002E48 1038 012F move.b D0, [0x0000012F /* CPUFlag */]
00002E4C 5240 addq.w D0, 1
00002E4E 6000 FF4A bra -0xB4 /* 00002D9A */
00002E52 0C38 0004 012F cmpi.b [0x0000012F /* CPUFlag */], 0x4
00002E58 6738 beq +0x3A /* 00002E92 */
00002E5A 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4
00002E60 6734 beq +0x36 /* 00002E96 */
fn00002E62:
00002E62 204F movea.l A0, A7
00002E64 F280 0000 fnop
00002E68 F327 .extension 0x327 <<F/4-5/1>> // unimplemented
00002E6A 3017 move.w D0, [A7]
00002E6C 2E48 movea.l A7, A0
00002E6E 0C40 1F18 cmpi.w D0, 0x1F18
00002E72 6716 beq +0x18 /* 00002E8A */
00002E74 0C40 3F18 cmpi.w D0, 0x3F18
label00002E78:
00002E78 6710 beq +0x12 /* 00002E8A */
00002E7A 0C40 3F38 cmpi.w D0, 0x3F38 /* '?8' */
00002E7E 670E beq +0x10 /* 00002E8E */
00002E80 0C40 1F38 cmpi.w D0, 0x1F38
00002E84 6708 beq +0xA /* 00002E8E */
00002E86 7000 moveq.l D0, 0x00
00002E88 600E bra +0x10 /* 00002E98 */
label00002E8A:
00002E8A 7001 moveq.l D0, 0x01
00002E8C 600A bra +0xC /* 00002E98 */
label00002E8E:
00002E8E 7002 moveq.l D0, 0x02
00002E90 6006 bra +0x8 /* 00002E98 */
label00002E92:
00002E92 7003 moveq.l D0, 0x03
00002E94 6002 bra +0x4 /* 00002E98 */
label00002E96:
00002E96 7000 moveq.l D0, 0x00
label00002E98:
00002E98 6000 FF00 bra -0xFE /* 00002D9A */
00002E9C 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
00002EA2 6E1C bgt +0x1E /* 00002EC0 */
00002EA4 303C A89F move.w D0, 0xA89F
00002EA8 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00002EAA 2408 move.l D2, A0
00002EAC 203C 0000 AB03 move.l D0, 0xAB03
00002EB2 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00002EB4 203C 0000 0100 move.l D0, 0x100
00002EBA B488 cmp.l D2, A0
00002EBC 6606 bne +0x8 /* 00002EC4 */
00002EBE 600A bra +0xC /* 00002ECA */
label00002EC0:
00002EC0 7000 moveq.l D0, 0x00
00002EC2 6006 bra +0x8 /* 00002ECA */
label00002EC4:
00002EC4 203C 0000 0200 move.l D0, 0x200
label00002ECA:
00002ECA 6000 FECE bra -0x130 /* 00002D9A */
00002ECE 1038 021E move.b D0, [0x0000021E /* KbdType */]
00002ED2 41FA 0016 lea.l A0, [PC + 0x16 /* 00002EEA, value 0x3130B02 */]
00002ED6 2248 movea.l A1, A0
label00002ED8:
00002ED8 1218 move.b D1, [A0]+
00002EDA 6700 FED2 beq -0x12C /* 00002DAE */
00002EDE B200 cmp.b D1, D0
00002EE0 66F6 bne -0x8 /* 00002ED8 */
00002EE2 91C9 sub.l A0, A1
00002EE4 2008 move.l D0, A0
00002EE6 6000 FEB2 bra -0x14C /* 00002D9A */
00002EEA 0313 btst [A3], D1
00002EEC 0B02 btst D2, D5
00002EEE 0106 btst D6, D0
00002EF0 0704 btst D4, D3
00002EF2 0508 btst A0, D2
00002EF4 0900 btst D0, D4
00002EF6 7000 moveq.l D0, 0x00
00002EF8 4A38 0291 tst.b [0x00000291 /* PortBUse */]
00002EFC 6B16 bmi +0x18 /* 00002F14 */
00002EFE 1238 01FB move.b D1, [0x000001FB /* SPConfig */]
00002F02 0201 000F andi.b D1, 0xF
00002F06 0C01 0001 cmpi.b D1, 0x1
00002F0A 6608 bne +0xA /* 00002F14 */
00002F0C 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */]
00002F10 1028 0007 move.b D0, [A0 + 0x7]
label00002F14:
00002F14 6000 FE84 bra -0x17A /* 00002D9A */
00002F18 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2
00002F1E 6D16 blt +0x18 /* 00002F36 */
00002F20 7000 moveq.l D0, 0x00
00002F22 1038 0CB1 move.b D0, [0x00000CB1 /* MMUType */]
00002F26 0C00 0001 cmpi.b D0, 0x1
00002F2A 670C beq +0xE /* 00002F38 */
00002F2C 0C00 0003 cmpi.b D0, 0x3
00002F30 6D04 blt +0x6 /* 00002F36 */
00002F32 5340 subq.w D0, 1
00002F34 6002 bra +0x4 /* 00002F38 */
label00002F36:
00002F36 7000 moveq.l D0, 0x00
label00002F38:
00002F38 6000 FE60 bra -0x19E /* 00002D9A */
00002F3C 303C A89F move.w D0, 0xA89F
00002F40 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00002F42 2408 move.l D2, A0
00002F44 203C 0000 A88F move.l D0, 0xA88F
00002F4A A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00002F4C 2038 0108 move.l D0, [0x00000108 /* MemTop */]
00002F50 B488 cmp.l D2, A0
00002F52 670A beq +0xC /* 00002F5E */
00002F54 598F subq.l A7, 4
00002F56 3F3C 0016 move.w -[A7], 0x16
00002F5A A88F syscall OSDispatch
00002F5C 201F move.l D0, [A7]+
label00002F5E:
00002F5E 6000 FE3A bra -0x1C4 /* 00002D9A */
00002F62 0000 7402 ori.b D0, 0x2
label00002F66:
00002F66 205F movea.l A0, [A7]+
00002F68 3F02 move.w -[A7], D2
00002F6A 2F08 move.l -[A7], A0
00002F6C ADE9 syscall Pack2, auto_pop
00002F6E 0000 7400 ori.b D0, 0x0
export_118: // at 00002F70 (misaligned)
00002F72 4EFA FFF2 jmp [PC - 0xE /* 00002F66 */]
00002F76 0000 206F ori.b D0, 0x6F /* 'o' */
export_119: // at 00002F78 (misaligned)
00002F7A 0004 202F ori.b D4, 0x2F /* '/' */
00002F7E 0008 4267 ori.b A0, 0x67 /* 'g' */
00002F82 A9EE syscall Pack7/DecStr68K
00002F84 205F movea.l A0, [A7]+
00002F86 504F addq.w A7, 8
00002F88 4ED0 jmp [A0]
00002F8A 0000 2F17 ori.b D0, 0x17
export_120: // at 00002F8C (misaligned)
00002F8E 2F7C 0400 0C00 0004 move.l [A7 + 0x4], 0x4000C00
00002F96 4EFA 00E4 jmp [PC + 0xE4 /* 0000307C */]
00002F9A 0000 2F17 ori.b D0, 0x17
export_121: // at 00002F9C (misaligned)
00002F9E 2F7C 0800 0484 0004 move.l [A7 + 0x4], 0x8000484
00002FA6 4EFA 00D4 jmp [PC + 0xD4 /* 0000307C */]
00002FAA 0000 2F17 ori.b D0, 0x17
export_122: // at 00002FAC (misaligned)
00002FAE 2F7C 1000 0808 0004 move.l [A7 + 0x4], 0x10000808
00002FB6 4EFA 00C4 jmp [PC + 0xC4 /* 0000307C */]
00002FBA 0000 2F17 ori.b D0, 0x17
export_123: // at 00002FBC (misaligned)
00002FBE 2F7C 1800 040C 0004 move.l [A7 + 0x4], 0x1800040C
00002FC6 4EFA 00B4 jmp [PC + 0xB4 /* 0000307C */]
00002FCA 0000 2F17 ori.b D0, 0x17
export_124: // at 00002FCC (misaligned)
00002FCE 2F7C 2004 0480 0004 move.l [A7 + 0x4], 0x20040480
00002FD6 4EFA 00A4 jmp [PC + 0xA4 /* 0000307C */]
00002FDA 0000 2F17 ori.b D0, 0x17
export_125: // at 00002FDC (misaligned)
00002FDE 2F7C 2A04 0484 0004 move.l [A7 + 0x4], 0x2A040484
00002FE6 4EFA 0094 jmp [PC + 0x94 /* 0000307C */]
00002FEA 0000 2F17 ori.b D0, 0x17
export_126: // at 00002FEC (misaligned)
00002FEE 2F7C 3204 0488 0004 move.l [A7 + 0x4], 0x32040488
00002FF6 4EFA 0084 jmp [PC + 0x84 /* 0000307C */]
00002FFA 0000 2F17 ori.b D0, 0x17
export_127: // at 00002FFC (misaligned)
00002FFE 2F7C 5204 0498 0004 move.l [A7 + 0x4], 0x52040498
00003006 4EFA 0074 jmp [PC + 0x74 /* 0000307C */]
0000300A 0000 2F17 ori.b D0, 0x17
export_128: // at 0000300C (misaligned)
0000300E 2F7C 5804 089C 0004 move.l [A7 + 0x4], 0x5804089C
00003016 4EFA 0064 jmp [PC + 0x64 /* 0000307C */]
0000301A 0000 2F17 ori.b D0, 0x17
export_129: // at 0000301C (misaligned)
0000301E 2F7C 6005 1480 0004 move.l [A7 + 0x4], 0x60051480
00003026 4EFA 0054 jmp [PC + 0x54 /* 0000307C */]
0000302A 0000 2F17 ori.b D0, 0x17
export_130: // at 0000302C (misaligned)
0000302E 2F7C 7007 0480 0004 move.l [A7 + 0x4], 0x70070480
00003036 4EFA 0044 jmp [PC + 0x44 /* 0000307C */]
0000303A 0000 2F17 ori.b D0, 0x17
export_131: // at 0000303C (misaligned)
0000303E 2F7C BA00 0000 0004 move.l [A7 + 0x4], 0xBA000000
00003046 4EFA 0034 jmp [PC + 0x34 /* 0000307C */]
0000304A 0000 2F17 ori.b D0, 0x17
export_132: // at 0000304C (misaligned)
0000304E 2F7C C000 0200 0004 move.l [A7 + 0x4], 0xC0000200
00003056 4EFA 0024 jmp [PC + 0x24 /* 0000307C */]
0000305A 0000 2F17 ori.b D0, 0x17
export_133: // at 0000305C (misaligned)
0000305E 2F7C C800 0000 0004 move.l [A7 + 0x4], 0xC8000000
00003066 4EFA 0014 jmp [PC + 0x14 /* 0000307C */]
0000306A 0000 2F17 ori.b D0, 0x17
export_134: // at 0000306C (misaligned)
0000306E 2F7C D000 0000 0004 move.l [A7 + 0x4], 0xD0000000
00003076 4EFA 0004 jmp [PC + 0x4 /* 0000307C */]
0000307A 0000 2F0B ori.b D0, 0xB
// begin alternate branch 0000307C-0000307E
label0000307C:
0000307C 2F0B move.l -[A7], A3
// end alternate branch 0000307C-0000307E
label0000307C: // (misaligned)
0000307E 203C 0000 A89F move.l D0, 0xA89F
00003084 A146 syscall GetTrapAddress, flags=1
00003086 2648 movea.l A3, A0
00003088 203C 0000 A8FD move.l D0, 0xA8FD
0000308E A146 syscall GetTrapAddress, flags=1
00003090 B7C8 cmpa.l A3, A0
00003092 6746 beq +0x48 /* 000030DA */
00003094 265F movea.l A3, [A7]+
00003096 4E56 0000 link A6, 0
0000309A 41EE 0008 lea.l A0, [A6 + 0x8]
0000309E 7007 moveq.l D0, 0x07
000030A0 C02E 0008 and.b D0, [A6 + 0x8]
000030A4 D02E 000A add.b D0, [A6 + 0xA]
000030A8 5800 addq.b D0, 4
000030AA 9EC0 sub.w A7, D0
000030AC 224F movea.l A1, A7
000030AE A02E syscall BlockMove/BlockMoveData
000030B0 A8FD syscall PrGlue
000030B2 7200 moveq.l D1, 0x00
000030B4 122E 000A move.b D1, [A6 + 0xA]
000030B8 7007 moveq.l D0, 0x07
000030BA C02E 0008 and.b D0, [A6 + 0x8]
000030BE 6710 beq +0x12 /* 000030D0 */
000030C0 204F movea.l A0, A7
000030C2 43F6 100C lea.l A1, [A6 + D1.w + 0xC]
000030C6 E248 lsr D0.w, 1
000030C8 6002 bra +0x4 /* 000030CC */
label000030CA:
000030CA 32DF move.w [A1]+, [A7]+
label000030CC:
000030CC 51C8 FFFC dbf D0, -0x6 /* 000030CA */
label000030D0:
000030D0 4E5E unlink A6
000030D2 205F movea.l A0, [A7]+
000030D4 DFC1 add.l A7, D1
000030D6 584F addq.w A7, 4
000030D8 4ED0 jmp [A0]
label000030DA:
000030DA 265F movea.l A3, [A7]+
000030DC 4E56 0000 link A6, 0
000030E0 48E7 0018 movem.l -[A7], A3,A4
000030E4 7200 moveq.l D1, 0x00
000030E6 122E 0008 move.b D1, [A6 + 0x8]
000030EA E609 lsr D1.b, 3
000030EC 6718 beq +0x1A /* 00003106 */
000030EE 4A2E 0008 tst.b [A6 + 0x8]
000030F2 6B00 00C2 bmi +0xC4 /* 000031B6 */
000030F6 7400 moveq.l D2, 0x00
000030F8 142E 0009 move.b D2, [A6 + 0x9]
000030FC 661E bne +0x20 /* 0000311C */
000030FE 7403 moveq.l D2, 0x03
00003100 C438 0946 and.b D2, [0x00000946 /* ChooserBits */]
00003104 6016 bra +0x18 /* 0000311C */
label00003106:
00003106 206E 0014 movea.l A0, [A6 + 0x14]
0000310A 2050 movea.l A0, [A0]
0000310C 7403 moveq.l D2, 0x03
0000310E C428 0044 and.b D2, [A0 + 0x44]
00003112 0238 00FC 0946 andi.b [0x00000946 /* ChooserBits */], 0xFC
00003118 8538 0946 or.b [0x00000946 /* ChooserBits */], D2
label0000311C:
0000311C 3678 0A5A movea.w A3, [0x00000A5A /* CurMap */]
00003120 42A7 clr.l -[A7]
00003122 2F3C 5044 4546 move.l -[A7], 0x50444546 /* 'PDEF' */
00003128 3F02 move.w -[A7], D2
0000312A A9A0 syscall GetResource
0000312C 201F move.l D0, [A7]+
0000312E 4A80 tst.l D0
00003130 664A bne +0x4C /* 0000317C */
00003132 0C78 FFFF 0952 cmpi.w [0x00000952 /* PrRefNum */], 0xFFFF
00003138 670C beq +0xE /* 00003146 */
0000313A 3F38 0952 move.w -[A7], [0x00000952 /* PrRefNum */]
0000313E A998 syscall UseResFile
00003140 4A78 0A60 tst.w [0x00000A60 /* ResErr */]
00003144 6716 beq +0x18 /* 0000315C */
label00003146:
00003146 6100 01CE bsr +0x1D0 /* 00003316 */
0000314A 4A40 tst.w D0
0000314C 6708 beq +0xA /* 00003156 */
0000314E 31C0 0944 move.w [0x00000944 /* PrintErr */], D0
00003152 6000 00B0 bra +0xB2 /* 00003204 */
label00003156:
00003156 3F38 0952 move.w -[A7], [0x00000952 /* PrRefNum */]
0000315A A998 syscall UseResFile
label0000315C:
0000315C 42A7 clr.l -[A7]
0000315E 2F3C 5044 4546 move.l -[A7], 0x50444546 /* 'PDEF' */
00003164 3F02 move.w -[A7], D2
00003166 A9A0 syscall GetResource
00003168 201F move.l D0, [A7]+
0000316A 4A80 tst.l D0
0000316C 660E bne +0x10 /* 0000317C */
0000316E 3F0B move.w -[A7], A3
00003170 A998 syscall UseResFile
00003172 31FC FF40 0944 move.w [0x00000944 /* PrintErr */], 0xFF40
00003178 6000 008A bra +0x8C /* 00003204 */
label0000317C:
0000317C 2840 movea.l A4, D0
0000317E 204C movea.l A0, A4
00003180 A029 syscall HLock
00003182 3F0B move.w -[A7], A3
00003184 A998 syscall UseResFile
00003186 41EE 000C lea.l A0, [A6 + 0xC]
0000318A 7007 moveq.l D0, 0x07
0000318C C02E 0008 and.b D0, [A6 + 0x8]
00003190 D02E 000A add.b D0, [A6 + 0xA]
00003194 9EC0 sub.w A7, D0
00003196 224F movea.l A1, A7
00003198 A02E syscall BlockMove/BlockMoveData
0000319A 102E 000B move.b D0, [A6 + 0xB]
0000319E 0200 007F andi.b D0, 0x7F
000031A2 2054 movea.l A0, [A4]
000031A4 4EB0 0000 jsr [A0 + D0.w]
000031A8 102E 000B move.b D0, [A6 + 0xB]
000031AC 6A04 bpl +0x6 /* 000031B2 */
000031AE 204C movea.l A0, A4
000031B0 A02A syscall HUnlock
label000031B2:
000031B2 6000 0118 bra +0x11A /* 000032CC */
label000031B6:
000031B6 9EFC 0032 sub.w A7, 0x32 /* '2' */
000031BA 41FA 0192 lea.l A0, [PC + 0x192 /* 0000334E, value 0x72E5072, pstring ".Print " */]
000031BE 2F48 0012 move.l [A7 + 0x12], A0
000031C2 3F7C FFFD 0018 move.w [A7 + 0x18], 0xFFFD
000031C8 422F 001B clr.b [A7 + 0x1B]
000031CC 204F movea.l A0, A7
000031CE 7000 moveq.l D0, 0x00
000031D0 0881 0004 bclr.b D1, 0x4
000031D4 D241 add.w D1, D1
000031D6 323B 1006 move.w D1, [PC + D1.w + 0x6]
000031DA 4EFB 1002 jmp [PC + D1.w + 0x2]
000031DE 0066 006A ori.w -[A6], 0x6A /* 'j' */
000031E2 006E 0078 008A ori.w [A6 + 0x8A], 0x78 /* 'x' */
000031E8 00A6 00B8 00D8 ori.l -[A6], 0xB800D8
000031EE 00E2 .incomplete
000031F0 0030 0042 0020 ori.b [A0 + D0.w + 0x20], 0x42 /* 'B' */
000031F6 0020 0020 ori.b -[A0], 0x20 /* ' ' */
000031FA 0020 0020 ori.b -[A0], 0x20 /* ' ' */
000031FE 31FC FFCE 0944 move.w [0x00000944 /* PrintErr */], 0xFFCE
label00003204:
00003204 7200 moveq.l D1, 0x00
00003206 122E 000A move.b D1, [A6 + 0xA]
0000320A 6000 00DE bra +0xE0 /* 000032EA */
0000320E 2F3C 8000 0000 move.l -[A7], 0x80000000
00003214 A8FD syscall PrGlue
00003216 3038 0944 move.w D0, [0x00000944 /* PrintErr */]
0000321A 6624 bne +0x26 /* 00003240 */
0000321C 7200 moveq.l D1, 0x00
0000321E 6002 bra +0x4 /* 00003222 */
00003220 7201 moveq.l D1, 0x01
label00003222:
00003222 6100 00F2 bsr +0xF4 /* 00003316 */
00003226 4A40 tst.w D0
00003228 6616 bne +0x18 /* 00003240 */
0000322A 3038 0952 move.w D0, [0x00000952 /* PrRefNum */]
0000322E 4A78 0A60 tst.w [0x00000A60 /* ResErr */]
00003232 6608 bne +0xA /* 0000323C */
00003234 4A41 tst.w D1
00003236 6704 beq +0x6 /* 0000323C */
00003238 3F00 move.w -[A7], D0
0000323A A99A syscall CloseResFile
label0000323C:
0000323C 3038 0A60 move.w D0, [0x00000A60 /* ResErr */]
label00003240:
00003240 6000 0082 bra +0x84 /* 000032C4 */
00003244 A000 syscall Open/PBHOpen/HOpen
00003246 607C bra +0x7E /* 000032C4 */
00003248 A001 syscall Close
0000324A 6078 bra +0x7A /* 000032C4 */
0000324C 615A bsr +0x5C /* 000032A8 */
0000324E 4FEF 002E lea.l A7, [A7 + 0x2E]
00003252 2E88 move.l [A7], A0
00003254 6076 bra +0x78 /* 000032CC */
00003256 6150 bsr +0x52 /* 000032A8 */
00003258 2050 movea.l A0, [A0]
0000325A 7000 moveq.l D0, 0x00
0000325C 1028 0007 move.b D0, [A0 + 0x7]
00003260 4FEF 0030 lea.l A7, [A7 + 0x30]
00003264 3E80 move.w [A7], D0
00003266 6064 bra +0x66 /* 000032CC */
00003268 216E 000C 0024 move.l [A0 + 0x24], [A6 + 0xC]
0000326E 216E 0010 0020 move.l [A0 + 0x20], [A6 + 0x10]
00003274 216E 0014 001C move.l [A0 + 0x1C], [A6 + 0x14]
0000327A 316E 0018 001A move.w [A0 + 0x1A], [A6 + 0x18]
00003280 A004 syscall Control
00003282 6040 bra +0x42 /* 000032C4 */
00003284 6122 bsr +0x24 /* 000032A8 */
00003286 2050 movea.l A0, [A0]
00003288 0828 0006 0005 btst.b [A0 + 0x5], 0x6
0000328E 6734 beq +0x36 /* 000032C4 */
00003290 2050 movea.l A0, [A0]
00003292 A049 syscall HPurge
00003294 602E bra +0x30 /* 000032C4 */
00003296 6110 bsr +0x12 /* 000032A8 */
00003298 2050 movea.l A0, [A0]
0000329A 0828 0006 0005 btst.b [A0 + 0x5], 0x6
000032A0 6722 beq +0x24 /* 000032C4 */
000032A2 2050 movea.l A0, [A0]
000032A4 A04A syscall HNoPurge
000032A6 601C bra +0x1E /* 000032C4 */
fn000032A8:
000032A8 317C 0001 001A move.w [A0 + 0x1A], 0x1
000032AE A005 syscall Status
000032B0 2068 001C movea.l A0, [A0 + 0x1C]
000032B4 4E75 rts
000032B6 4FEF 0030 lea.l A7, [A7 + 0x30]
000032BA 3EB8 0944 move.w [A7], [0x00000944 /* PrintErr */]
000032BE 600C bra +0xE /* 000032CC */
000032C0 302E 000C move.w D0, [A6 + 0xC]
label000032C4:
000032C4 4FEF 0032 lea.l A7, [A7 + 0x32]
000032C8 31C0 0944 move.w [0x00000944 /* PrintErr */], D0
label000032CC:
000032CC 7200 moveq.l D1, 0x00
000032CE 122E 000A move.b D1, [A6 + 0xA]
000032D2 7007 moveq.l D0, 0x07
000032D4 C02E 0008 and.b D0, [A6 + 0x8]
000032D8 6710 beq +0x12 /* 000032EA */
000032DA 204F movea.l A0, A7
000032DC 43F6 100C lea.l A1, [A6 + D1.w + 0xC]
000032E0 E248 lsr D0.w, 1
000032E2 6002 bra +0x4 /* 000032E6 */
label000032E4:
000032E4 32DF move.w [A1]+, [A7]+
label000032E6:
000032E6 51C8 FFFC dbf D0, -0x6 /* 000032E4 */
label000032EA:
000032EA 4CDF 1800 movem.l A3,A4, [A7]+
000032EE 4E5E unlink A6
000032F0 205F movea.l A0, [A7]+
000032F2 DFC1 add.l A7, D1
000032F4 584F addq.w A7, 4
000032F6 4ED0 jmp [A0]
fn000032F8:
000032F8 7000 moveq.l D0, 0x00
fn000032FA:
000032FA 9EFC 0040 sub.w A7, 0x40 /* '@' */
000032FE 204F movea.l A0, A7
00003300 3140 0016 move.w [A0 + 0x16], D0
00003304 42A8 0012 clr.l [A0 + 0x12]
00003308 A015 syscall SetVol/PBHSetVol/HSetVol
0000330A A014 syscall GetVol/PBHGetVol/HGetVol
0000330C 3028 0016 move.w D0, [A0 + 0x16]
00003310 4FEF 0040 lea.l A7, [A7 + 0x40]
00003314 4E75 rts
fn00003316:
00003316 594F subq.w A7, 4
00003318 3F3C E000 move.w -[A7], 0xE000
0000331C A9BA syscall GetString
0000331E 201F move.l D0, [A7]+
00003320 6606 bne +0x8 /* 00003328 */
00003322 303C FF40 move.w D0, 0xFF40
00003326 6024 bra +0x26 /* 0000334C */
label00003328:
00003328 2240 movea.l A1, D0
0000332A 61CC bsr -0x32 /* 000032F8 */
0000332C 4841 swap.w D1
0000332E 3200 move.w D1, D0
00003330 554F subq.w A7, 2
00003332 2049 movea.l A0, A1
00003334 A029 syscall HLock
00003336 2F11 move.l -[A7], [A1]
00003338 A997 syscall OpenResFile
0000333A 31DF 0952 move.w [0x00000952 /* PrRefNum */], [A7]+
0000333E 2049 movea.l A0, A1
00003340 A02A syscall HUnlock
00003342 3001 move.w D0, D1
00003344 4841 swap.w D1
00003346 61B2 bsr -0x4C /* 000032FA */
00003348 3038 0A60 move.w D0, [0x00000A60 /* ResErr */]
label0000334C:
0000334C 4E75 rts
0000334E 072E 5072 btst [A6 + 0x5072], D3
00003352 696E bvs +0x70 /* 000033C2 */
00003354 7420 moveq.l D2, 0x20
00003356 0000 202F ori.b D0, 0x2F /* '/' */
// begin alternate branch 00003358-00003362
export_135:
fn00003358:
00003358 202F 0004 move.l D0, [A7 + 0x4]
0000335C 2F40 0008 move.l [A7 + 0x8], D0
00003360 6726 beq +0x28 /* 00003388 */
// end alternate branch 00003358-00003362
export_135: // at 00003358 (misaligned)
fn00003358: // (misaligned)
0000335A 0004 2F40 ori.b D4, 0x40 /* '@' */
0000335E 0008 6726 ori.b A0, 0x26 /* '&' */
00003362 2040 movea.l A0, D0
00003364 2248 movea.l A1, A0
00003366 1019 move.b D0, [A1]+
00003368 671E beq +0x20 /* 00003388 */
label0000336A:
0000336A 1211 move.b D1, [A1]
0000336C 12C0 move.b [A1]+, D0
0000336E 1001 move.b D0, D1
00003370 66F8 bne -0x6 /* 0000336A */
00003372 93C8 sub.l A1, A0
00003374 2009 move.l D0, A1
00003376 5340 subq.w D0, 1
00003378 0C80 0000 00FF cmpi.l D0, 0xFF
0000337E 6F06 ble +0x8 /* 00003386 */
00003380 203C 0000 00FF move.l D0, 0xFF
label00003386:
00003386 1080 move.b [A0], D0
label00003388:
00003388 225F movea.l A1, [A7]+
0000338A 584F addq.w A7, 4
0000338C 4ED1 jmp [A1]
0000338E 0000 225F ori.b D0, 0x5F /* '_' */
// begin alternate branch 00003390-00003392
fn00003390:
00003390 225F movea.l A1, [A7]+
// end alternate branch 00003390-00003392
fn00003390: // (misaligned)
00003392 201F move.l D0, [A7]+
00003394 2E80 move.l [A7], D0
00003396 6712 beq +0x14 /* 000033AA */
00003398 2040 movea.l A0, D0
0000339A 7000 moveq.l D0, 0x00
0000339C 1010 move.b D0, [A0]
0000339E 6004 bra +0x6 /* 000033A4 */
label000033A0:
000033A0 10E8 0001 move.b [A0]+, [A0 + 0x1]
label000033A4:
000033A4 51C8 FFFA dbf D0, -0x8 /* 000033A0 */
000033A8 4210 clr.b [A0]
label000033AA:
000033AA 4ED1 jmp [A1]